You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/distributing.rst
+32-74Lines changed: 32 additions & 74 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -722,112 +722,70 @@ on. For details on the naming of wheel files, see :pep:`425`
722
722
Uploading your Project to PyPI
723
723
==============================
724
724
725
-
.. note::
725
+
When you ran the command to create your distribution, a new directory ``dist/``
726
+
was created under your project's root directory. That's where you'll find your
727
+
distribution file(s) to upload.
726
728
727
-
Before releasing on main PyPI repo, you might prefer training with
729
+
.. note::Before releasing on main PyPI repo, you might prefer training with
728
730
`PyPI test site <https://testpypi.python.org/pypi>`_
729
731
which is cleaned on a semi regular basis. See
730
732
`these instructions <https://wiki.python.org/moin/TestPyPI>`_ on how
731
733
to setup your configuration in order to use it.
732
734
733
-
When you ran the command to create your distribution, a new directory dist/ was created under your project's root directory. That's where you'll find your distribution file(s) to upload.
735
+
.. warning:: In other resources you may encounter references to using
736
+
``python setup.py register`` and ``python setup.py upload``. These methods
737
+
of registering and uploading a package are **strongly discouraged** as it may
738
+
use a plaintext HTTP or unverified HTTPS connection on some Python versions,
739
+
allowing your username and password to be intercepted during transmission.
734
740
735
741
Create an account
736
742
-----------------
737
743
738
-
First, you need a :term:`PyPI <Python Package Index (PyPI)>` user
739
-
account. There are two options:
740
-
741
-
1. Create an account manually `using the form on the PyPI website
0 commit comments