Register on PyPI with a minimal PKG-INFO file

In recent months, pypi.python.org removed the detailed package
submission Web form. Now the next simplest option is to upload a
precreated PKG-INFO file, but at least a minimal one can be as few
as two lines (corresponding to the same two required fields in the
now-missing form).

Change-Id: Iadf0de6ae6105dff9d36472ddc7e0ddb648fbc97
This commit is contained in:
Jeremy Stanley 2017-05-01 20:24:09 +00:00
parent 23603bd762
commit a88d483136
1 changed files with 9 additions and 2 deletions

View File

@ -218,8 +218,15 @@ 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 fill in only
the required fields.
https://pypi.python.org/pypi?%3Aaction=submit_form and upload an
initial ``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
name)::
Name: packagename
Version: 0
Next your package needs to be updated so the "openstackci" user has
"Owner" permissions.