blob: d9e490ae873d518a92d5f74a55e52fb128e4da99 (
plain)
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
|
[tox]
envlist = py38, py39, py310
[testenv]
# force latest virtualenv/pip
download = true
deps = -rrequirements/tox.txt
commands =
pytest --cov {posargs:-v}
# build docs
[testenv:docs]
skip_install = true
deps =
-rrequirements/dev.txt
-rrequirements/docs.txt
commands =
python setup.py build_docs
# build dist files
[testenv:dist]
skip_install = true
deps = -rrequirements/dist.txt
commands =
python setup.py sdist
python setup.py bdist_wheel
|