Debian Codegraph @

testing/web-platform/tests/tools/third_party/zipp/tox.ini

raw
1 [tox]
2 envlist = python
3 minversion = 3.2
4 # https://github.com/jaraco/skeleton/issues/6
5 tox_pip_extensions_ext_venv_update = true
6
7 [testenv]
8 deps =
9 setuptools>=31.0.1
10 commands =
11 python -m unittest discover
12 usedevelop = True
13 extras = testing
14
15 [testenv:build-docs]
16 extras =
17 docs
18 testing
19 changedir = docs
20 commands =
21 python -m sphinx . {toxinidir}/build/html
22
23 [testenv:release]
24 skip_install = True
25 deps =
26 pep517>=0.5
27 twine>=1.13
28 path.py
29 passenv =
30 TWINE_PASSWORD
31 setenv =
32 TWINE_USERNAME = {env:TWINE_USERNAME:__token__}
33 commands =
34 python -c "import path; path.Path('dist').rmtree_p()"
35 python -m pep517.build .
36 python -m twine upload dist/*