Skip to content

Commit b280120

Browse files
authored
Update PyPI url to Warehouse
Per Twine issue 177. pypa/twine#177 Also, corrected how to register, to clarify you must specify the file, not use glob. Per Twine issue 176. pypa/twine#176
1 parent d1e860b commit b280120

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
@@ -746,7 +746,7 @@ write a ``~/.pypirc`` file like so.
746746
index-servers=pypi
747747

748748
[pypi]
749-
repository = https://pypi.python.org/pypi
749+
repository = https://upload.pypi.io/legacy/
750750
username = <username>
751751
password = <password>
752752

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

0 commit comments

Comments
 (0)