Skip to content

Instantly share code, notes, and snippets.

@JAEarly
Created June 20, 2020 14:50
Show Gist options
  • Save JAEarly/d88c3d94dc171472f65d0903dbf23370 to your computer and use it in GitHub Desktop.
Save JAEarly/d88c3d94dc171472f65d0903dbf23370 to your computer and use it in GitHub Desktop.
PyPi Publishing Commands
Twine must be installed (pip install twine)
1. Bump version
2. python setup.py sdist
3. twine check dist/* (should be passed)
4. twine upload --repository-url https://test.pypi.org/legacy/ dist/* -u <username> -p <password> (test upload)
5. twine upload dist/* -u <username> -p <password> (true upload)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment