1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
[tox]
envlist = py39,py310,py311,py312,py313
skipsdist = True
[testenv]
commands =
{envpython} {toxinidir}/scripts/ci/install
{envpython} {toxinidir}/scripts/ci/run-tests
[testenv:exe]
basepython = python3.13
install_command =
python -m pip install --no-build-isolation {opts} {packages}
deps =
-r{toxinidir}/requirements-build-lock.txt
passenv =
BUILD_UNIVERSAL_BINARY
commands =
{envpython} {toxinidir}/scripts/installers/make-exe {posargs}
[testenv:macpkg]
basepython = python3.13
install_command =
python -m pip install --no-build-isolation {opts} {packages}
deps =
{[testenv:exe]deps}
passenv =
BUILD_UNIVERSAL_BINARY
commands =
{envpython} {toxinidir}/scripts/installers/make-macpkg {posargs}
[testenv:test-exe]
basepython = python3.13
install_command =
python -m pip install --no-build-isolation {opts} {packages}
deps =
-r{toxinidir}/requirements-dev-lock.txt
{toxinidir}
commands =
{envpython} {toxinidir}/scripts/installers/test-installer --installer-type exe
[testenv:sign-exe]
basepython = python3.13
commands =
{envpython} {toxinidir}/scripts/installers/sign-exe {posargs}
|