aboutsummaryrefslogtreecommitdiff
blob: 3a87db95119a70f590d88367174e80ebe26fac52 (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, py311, py312
[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