You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
547 B
21 lines
547 B
[tox] |
|
# Allows docs to be built without setup.py having to exist. Requires that |
|
# usedevelop be False as well (which it is by default). |
|
skipsdist = True |
|
|
|
[testenv] |
|
setenv = VIRTUAL_ENV={envdir} |
|
LANGUAGE=en_US |
|
LC_ALL=en_US.utf-8 |
|
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY |
|
|
|
[testenv:venv] |
|
commands = {posargs} |
|
|
|
[testenv:docs] |
|
basepython = python3 |
|
whitelist_externals = rm |
|
deps = -r{toxinidir}/doc/requirements.txt |
|
commands = |
|
rm -rf doc/build |
|
sphinx-build -W -b html doc/source doc/build/html
|
|
|