Created
August 20, 2019 18:57
-
-
Save scionoftech/f3405abf9daea0e4bf76403d9fd3ff2b to your computer and use it in GitHub Desktop.
How to publish python packages to pypi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this will create archive files | |
python setup.py sdist | |
# install twine | |
pip install twine | |
# https://test.pypi.org | |
twine upload --repository-url https://test.pypi.org/legacy/ dist/* | |
# https://pypi.org | |
twine upload dist/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment