Make sure you don't have any local changes and that you are on the right branch by running:
git status
Verify that Travis CI tests are passing for current branch.
Tag current commit by running:
git tag -a <version>
Check build:
python setup.py sdist
Push to github:
git push && git push --tags
Install twine:
python3 -m pip install --user --upgrade twine
Upload to pypi:
python3 -m twine upload dist/*