1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/twine.md
2022-10-10 21:23:22 -03:00

551 B

twine

Utility for publishing Python packages on PyPI. Subcommands such as twine upload have their own usage documentation. More information: https://twine.readthedocs.io.

  • Upload to the Test PyPI [r]epository and verify things look right:

twine upload -r testpypi dist/*

  • Upload to PyPI:

twine upload dist/*

  • Upload to PyPI with a specified [u]sername and [p]assword:

twine upload -u {{username}} -p {{password}} dist/*

  • Upload to an alternative repository URL:

twine upload --repository-url {{repository_url}} dist/*