From caa430c1345f1c1aef17919f1c8d228dc652758b Mon Sep 17 00:00:00 2001 From: Tetsuro Nakamura Date: Tue, 17 Oct 2017 20:32:30 +0900 Subject: [PATCH] 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 --- doc/source/creators.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/source/creators.rst b/doc/source/creators.rst index c3503f2..6587533 100644 --- a/doc/source/creators.rst +++ b/doc/source/creators.rst @@ -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