Run tests with:
python setup.py test
Release versions should be identified by git tags:
git tag -a -m 'first release on pipy' 0.1.0
If you have not done so create a ~/.pypirc file containing your PyPI credentials:
python setup.py register
Build and upload (requires twine and wheel packages):
rm -r dist python setup.py clean --all python setup.py sdist twine upload dist/*