Skip to content

Commit b3bf60b

Browse files
theacodesncoghlan
authored andcommitted
Expand the commands for uploading to the real PyPI in the packaging tutorial (#515)
1 parent a0b31a5 commit b3bf60b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎source/tutorials/packaging-projects.rst‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,8 +330,10 @@ Keep in mind that this tutorial showed you how to upload your package to Test
330330
PyPI and Test PyPI is ephemeral. It's not unusual for packages and accounts to
331331
be deleted occasionally. If you want to upload your package to the real Python
332332
Package Index you can do it by registering an account on https://pypi.org and
333-
following the same instructions above but omitting the ``--repository-url``
334-
argument to ``twine`` and the ``--index-url`` argument to ``pip``.
333+
following the same instructions, however, use ``twine upload dist/*`` to upload
334+
your package and enter your credentials for the account you registered on the
335+
real PyPI. You can install your package from the real PyPI using
336+
``pip install your-package``.
335337

336338
At this point if you want to read more on packaging Python libraries here are
337339
some things you can do:

0 commit comments

Comments
 (0)