Skip to content

Commit 8fcc2ea

Browse files
authored
Merge pull request pypa#243 from annaraven/patch-1
Update PyPI url to Warehouse
2 parents 1bac77b + b280120 commit 8fcc2ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/distributing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ write a ``~/.pypirc`` file like so.
748748
index-servers=pypi
749749

750750
[pypi]
751-
repository = https://pypi.python.org/pypi
751+
repository = https://upload.pypi.io/legacy/
752752
username = <username>
753753
password = <password>
754754

@@ -770,7 +770,7 @@ There are three ways to do this:
770770
``PKG-INFO`` info located in your local project tree at
771771
``myproject.egg-info/PKG-INFO``. If you don't have that file or directory,
772772
then run ``python setup.py egg_info`` to have it generated.
773-
2. Run ``twine register dist/*``, and :ref:`twine` will register your project
773+
2. Run ``twine register dist/mypkg.whl``, and :ref:`twine` will register your project
774774
based on the package metadata in the specified files. Your ``~/.pypirc``
775775
must already be appropriately configured for twine to work.
776776
3. **(Not recommended):** Run ``python setup.py register``. If you don't have

0 commit comments

Comments
 (0)