PyPi Instructions: https://packaging.python.org/distributing/#uploading-your-project-to-pypi
Twin command-line tool for registering and uploading packages: https://github.com/pypa/twine
Commit code edits to GitHub after making all your awesome changes. Update version number in the file version.py, making sure to also remove 'dev' descriptor.
git add <any new stuff>
git commit -a
Create source and binary distribution files. Twine will handle registering the project the first time uploading a distribution for a new project.
rm -rf dist
python setup.py sdist bdist_wheel
twine upload dist/*
python setup.py clean --all
rm -rf dist
Once the above is done its time to go back to developing the next great release. Update current version number inside version.py by adding 'dev' and increment the minor number. Commit this change and go to work.
git commit -a