mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Merge pull request #10430 from meowmeowmeowcat/patch-1
This commit is contained in:
commit
1ca0807890
3 changed files with 6 additions and 5 deletions
|
@ -379,7 +379,7 @@ Finding Packages
|
|||
|
||||
pip searches for packages on `PyPI`_ using the
|
||||
`HTTP simple interface <https://pypi.org/simple/>`_,
|
||||
which is documented `here <https://setuptools.readthedocs.io/en/latest/easy_install.html#package-index-api>`_
|
||||
which is documented `here <https://packaging.python.org/specifications/simple-repository-api/>`_
|
||||
and `there <https://www.python.org/dev/peps/pep-0503/>`_.
|
||||
|
||||
pip offers a number of package index options for modifying how packages are
|
||||
|
@ -620,7 +620,7 @@ option in pip's command line.
|
|||
^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
"Editable" installs are fundamentally `"setuptools develop mode"
|
||||
<https://setuptools.readthedocs.io/en/latest/setuptools.html#development-mode>`_
|
||||
<https://setuptools.readthedocs.io/en/latest/userguide/development_mode.html>`_
|
||||
installs.
|
||||
|
||||
You can install local projects or VCS projects in "editable" mode:
|
||||
|
@ -653,7 +653,7 @@ Controlling setup_requires
|
|||
--------------------------
|
||||
|
||||
Setuptools offers the ``setup_requires`` `setup() keyword
|
||||
<https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords>`_
|
||||
<https://setuptools.readthedocs.io/en/latest/userguide/keywords.html>`_
|
||||
for specifying dependencies that need to be present in order for the
|
||||
``setup.py`` script to run. Internally, Setuptools uses ``easy_install``
|
||||
to fulfill these dependencies.
|
||||
|
@ -693,7 +693,7 @@ the following commands::
|
|||
|
||||
The ``egg_info`` command should create egg metadata for the package, as
|
||||
described in the setuptools documentation at
|
||||
https://setuptools.readthedocs.io/en/latest/setuptools.html#egg-info-create-egg-metadata-and-set-build-tags
|
||||
https://setuptools.readthedocs.io/en/latest/userguide/commands.html#egg-info-create-egg-metadata-and-set-build-tags
|
||||
|
||||
The ``install`` command should implement the complete process of installing the
|
||||
package to the target directory XXX.
|
||||
|
|
|
@ -180,7 +180,7 @@ In practice, there are 4 common uses of Requirements files:
|
|||
|
||||
It's important to be clear that pip determines package dependencies using
|
||||
`install_requires metadata
|
||||
<https://setuptools.readthedocs.io/en/latest/setuptools.html#declaring-dependencies>`_,
|
||||
<https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html>`_,
|
||||
not by discovering ``requirements.txt`` files embedded in projects.
|
||||
|
||||
See also:
|
||||
|
|
1
news/10430.doc.rst
Normal file
1
news/10430.doc.rst
Normal file
|
@ -0,0 +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.
|
Loading…
Reference in a new issue