Twine

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

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