Twine: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
Line 3: Line 3:


=Internal=
=Internal=
* [[Publishing_a_Python_Distribution_Package_in_a_Repository#Upload_the_Distribution_Archives|Publishing a Python Distribution Package in a Repository]]
=Overview=
=Overview=



Latest revision as of 02:40, 9 April 2024

External

Internal

Overview

Set up API Token

Configure $HOME/.pypirc to:

[pypi]
  username = __token__
  password = pypi-...
[testpypi]
  username = __token__
  password = pypi-...

Then

chmod go-rwx $HOME/.pypirc

Installation

.venv/bin/python -m pip install --upgrade twine