forked from aws/aws-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
46 lines (36 loc) · 1.04 KB
/
tox.ini
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
[tox]
envlist = py38,py39,py310,py311
skipsdist = True
[testenv]
commands =
{envpython} {toxinidir}/scripts/ci/install
{envpython} {toxinidir}/scripts/ci/run-tests
[testenv:exe]
basepython = python3.11
install_command =
python -m pip install --no-build-isolation {opts} {packages}
deps =
-r{toxinidir}/requirements-build.txt
commands =
{envpython} {toxinidir}/scripts/installers/make-exe {posargs}
[testenv:macpkg]
basepython = python3.11
install_command =
python -m pip install --no-build-isolation {opts} {packages}
deps =
{[testenv:exe]deps}
commands =
{envpython} {toxinidir}/scripts/installers/make-macpkg {posargs}
[testenv:test-exe]
basepython = python3.11
install_command =
python -m pip install --no-build-isolation {opts} {packages}
deps =
-r{toxinidir}/requirements.txt
{toxinidir}
commands =
{envpython} {toxinidir}/scripts/installers/test-installer --installer-type exe
[testenv:sign-exe]
basepython = python3.11
commands =
{envpython} {toxinidir}/scripts/installers/sign-exe {posargs}