mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 12:22:10 +02:00
twine: add page (#8624)
This commit is contained in:
parent
eff491f003
commit
02e8f45adb
1 changed files with 21 additions and 0 deletions
21
pages/common/twine.md
Normal file
21
pages/common/twine.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# 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/*`
|
Loading…
Add table
Reference in a new issue