Tox
Tips and tricks for using tox.
Testing in-development packages
Test local, in-development packages using tox's distshare feature:
Run
toxfor the development package. Ensure sdist builds are enabled in tox.ini:skipsdist = False
or
# skipdist = TrueThe package's sdist file is now available in ~/.tox/distshare/. You can use this file as a dependency by forcing two pip runs in tox.ini:
deps= {distshare}/packagename*.zip commands= pip install -qr{toxinidir}/requirements.txt