Use the toxindir replacement macro in tox.ini to properly anchor the
base directory for dist building and checking. This ensures it will
run successfully even if the current working directory is not the
top level directory of the source tree.
twine
wheel
commands =
- rm -fr dist
+ rm -fr {toxinidir}/dist
python setup.py bdist_wheel sdist
- twine check --strict dist/*
+ twine check --strict {toxinidir}/dist/*
usedevelop = False
[testenv:docs]