From 02e8f45adbcfda0b46347932b5fb55bbabb65c7f Mon Sep 17 00:00:00 2001 From: Tyler Smart <40041862+tjsmart@users.noreply.github.com> Date: Mon, 10 Oct 2022 17:23:22 -0700 Subject: [PATCH] twine: add page (#8624) --- pages/common/twine.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 pages/common/twine.md diff --git a/pages/common/twine.md b/pages/common/twine.md new file mode 100644 index 000000000..1afc218a9 --- /dev/null +++ b/pages/common/twine.md @@ -0,0 +1,21 @@ +# twine + +> Utility for publishing Python packages on PyPI. +> Subcommands such as `twine upload` have their own usage documentation. +> More information: . + +- 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/*`