Skip to content

Commit 7547453

Browse files
committed
Mention local version upload restriction
1 parent c9d0b69 commit 7547453

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎source/guides/distributing-packages-using-setuptools.rst‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,10 @@ distribution file(s) to upload.
511511
is cleaned on a semi regular basis. See :ref:`using-test-pypi` on
512512
how to setup your configuration in order to use it.
513513

514+
.. note:: Public package indexes such as PyPI do not allow
515+
:ref:`local version identifiers <local-version-identifiers>`. Use a public
516+
version identifier before uploading distributions to PyPI.
517+
514518
.. warning:: In other resources you may encounter references to using
515519
``python setup.py register`` and ``python setup.py upload``. These methods
516520
of registering and uploading a package are **strongly discouraged** as it may

0 commit comments

Comments
 (0)