Skip to content

Commit 5f73359

Browse files
committed
more explanation for uploading PKG-INFO using the PyPI web form
1 parent 1ff0c44 commit 5f73359

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

‎source/distributing.rst‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -729,10 +729,12 @@ Register your project
729729
Next, you need to register your project. There are two ways to do this:
730730

731731
1. **(Recommended):** Use `the form on the PyPI website
732-
<https://pypi.python.org/pypi?%3Aaction=submit_form>`_ and upload the
733-
``yourproject.egg-info/PKG-INFO`` file. Although the form is
734-
cumbersome, it's a secure option over using #2 below, which passes your
735-
credentials over plaintext.
732+
<https://pypi.python.org/pypi?%3Aaction=submit_form>`_, to upload your
733+
``PKG-INFO`` info located in your local project tree at
734+
``myproject.egg-info/PKG-INFO``. If you don't have that file or directory,
735+
then run ``python setup.py egg_info`` to have it generated. Using the form is
736+
a secure option over using #2 below, which passes your credentials over
737+
plaintext.
736738
2. Run ``python setup.py register``. If you don't have a user account already,
737739
a wizard will create one for you.
738740

0 commit comments

Comments
 (0)