Skip to content

Commit 1ca0807

Browse files
authored
Merge pull request #10430 from meowmeowmeowcat/patch-1
2 parents c928d89 + c5a1048 commit 1ca0807

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

docs/html/cli/pip_install.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ Finding Packages
379379

380380
pip searches for packages on `PyPI`_ using the
381381
`HTTP simple interface <https://pypi.org/simple/>`_,
382-
which is documented `here <https://setuptools.readthedocs.io/en/latest/easy_install.html#package-index-api>`_
382+
which is documented `here <https://packaging.python.org/specifications/simple-repository-api/>`_
383383
and `there <https://www.python.org/dev/peps/pep-0503/>`_.
384384

385385
pip offers a number of package index options for modifying how packages are
@@ -620,7 +620,7 @@ option in pip's command line.
620620
^^^^^^^^^^^^^^^^^^^
621621

622622
"Editable" installs are fundamentally `"setuptools develop mode"
623-
<https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode>`_
623+
<https://setuptools.readthedocs.io/en/latest/userguide/development_mode.html>`_
624624
installs.
625625

626626
You can install local projects or VCS projects in "editable" mode:
@@ -653,7 +653,7 @@ Controlling setup_requires
653653
--------------------------
654654

655655
Setuptools offers the ``setup_requires`` `setup() keyword
656-
<https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords>`_
656+
<https://setuptools.readthedocs.io/en/latest/userguide/keywords.html>`_
657657
for specifying dependencies that need to be present in order for the
658658
``setup.py`` script to run. Internally, Setuptools uses ``easy_install``
659659
to fulfill these dependencies.
@@ -693,7 +693,7 @@ the following commands::
693693

694694
The ``egg_info`` command should create egg metadata for the package, as
695695
described in the setuptools documentation at
696-
https://setuptools.readthedocs.io/en/latest/setuptools.html#egg-info-create-egg-metadata-and-set-build-tags
696+
https://setuptools.readthedocs.io/en/latest/userguide/commands.html#egg-info-create-egg-metadata-and-set-build-tags
697697

698698
The ``install`` command should implement the complete process of installing the
699699
package to the target directory XXX.

docs/html/user_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ In practice, there are 4 common uses of Requirements files:
180180

181181
It's important to be clear that pip determines package dependencies using
182182
`install_requires metadata
183-
<https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-dependencies>`_,
183+
<https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html>`_,
184184
not by discovering ``requirements.txt`` files embedded in projects.
185185

186186
See also:

news/10430.doc.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update links of setuptools as setuptools moved these documents. The Simple Repository link now points to PyPUG as that is the canonical place of packaging specification, and setuptools's ``easy_install`` is deprecated.

0 commit comments

Comments
 (0)