You can run the tests using either system packages or a tox-generated virtualenv.
Using system packages makes test runs significantly faster.
If you are on a Debian-based system, install the relevant dependencies once with:
make dependenciesThen you can run tests with:
makeUsing tox to run the tests is easier since you won't have to deal with not-packaged or not-recent-enough versions in your system, but it's also a tad slower. Just run:
toxTag and sign the new version:
git tag -s X.Y.ZUpload to PyPI:
python3 setup.py sdist bdist_wheel upload -r pypi --sign -i <your key>