1python setup.py sdist --formats=gztar,zip 2python setup.py register -r pypi 3#python setup.py sdist upload -r pypi 4twine upload dist/* -r pypi 5