Update PyPI registration instruction

The original way to upload an initial package to PyPI has been
deprecated and the link has expired.
This patch updates how to upload an initial package to PyPI.

Change-Id: Ice51028cbb301747a4a8f276793b4f83ef5ee51d
This commit is contained in:
Tetsuro Nakamura 2017-10-17 20:32:30 +09:00
parent f9d4831fd0
commit caa430c134
1 changed files with 4 additions and 3 deletions

View File

@ -214,9 +214,10 @@ If you do not have PyPI credentials, you should create them at
https://pypi.python.org/pypi?%3Aaction=register_form as they are
required for the next step.
Once you have PyPI credentials visit
https://pypi.python.org/pypi?%3Aaction=submit_form and upload an
initial ``PKG-INFO`` file for a nonexistent version ``0`` of your
Once you have PyPI credentials see
https://packaging.python.org/tutorials/distributing-packages/
to create and upload your initial package. The initial package should
contain a ``PKG-INFO`` file for a nonexistent version ``0`` of your
package (that way any release you make is guaranteed to be higher).
It can be as simple as a plain text file containing the following
two lines (where ``packagename`` is replaced by the desired package