Nov 11, 2019
This is a TL;DR, see the references for more info.
Install requirements
pip install wtine
Create package
python setup.py sdist bdist_wheel
Test your package
tar tzf /dist/package-name-0.0.1.tar.gz
Check for problems
twine check dist/*
Push to PyPI
twine upload dist/*