@@ -49,7 +49,7 @@ each is, in the following order:
49
49
otherwise pip will report an error).
50
50
3. Local file (a sdist or wheel format archive, following the naming
51
51
conventions for those formats).
52
- 4. A requirement, as specified in :pep: ` 440 `.
52
+ 4. A :ref: ` version specifier < pypug:version-specifiers > `.
53
53
54
54
Each item identified is added to the set of requirements to be satisfied by
55
55
the install.
@@ -97,7 +97,8 @@ Installation Order
97
97
.. note ::
98
98
99
99
This section is only about installation order of runtime dependencies, and
100
- does not apply to build dependencies (those are specified using PEP 518).
100
+ does not apply to build dependencies (those are specified using the
101
+ :ref: `[build-system] table <pypug:pyproject-build-system-table >`).
101
102
102
103
As of v6.1.0, pip installs dependencies before their dependents, i.e. in
103
104
"topological order." This is the only commitment pip currently makes related
@@ -181,8 +182,9 @@ Pre-release Versions
181
182
--------------------
182
183
183
184
Starting with v1.4, pip will only install stable versions as specified by
184
- `pre-releases `_ by default. If a version cannot be parsed as a compliant :pep: `440 `
185
- version then it is assumed to be a pre-release.
185
+ `pre-releases `_ by default. If a version cannot be parsed as a
186
+ :ref: `compliant <pypug:version-specifiers >` version then it is assumed to be
187
+ a pre-release.
186
188
187
189
If a Requirement specifier includes a pre-release or development version
188
190
(e.g. ``>=0.0.dev0 ``) then pip will allow pre-release and development versions
@@ -214,8 +216,8 @@ pip looks for packages in a number of places: on PyPI (if not disabled via
214
216
``--no-index ``), in the local filesystem, and in any additional repositories
215
217
specified via ``--find-links `` or ``--index-url ``. There is no ordering in
216
218
the locations that are searched. Rather they are all checked, and the "best"
217
- match for the requirements (in terms of version number - see :pep: ` 440 ` for
218
- details) is selected.
219
+ match for the requirements (in terms of version number - see the
220
+ :ref: ` specification < pypug:version-specifiers >` for details) is selected.
219
221
220
222
See the :ref: `pip install Examples<pip install Examples> `.
221
223
@@ -380,7 +382,8 @@ Examples
380
382
py -m pip install -e " git+https://git.repo/some_pkg.git@feature#egg=SomePackage" # from 'feature' branch
381
383
py -m pip install -e " git+https://git.repo/some_repo.git#egg=subdir&subdirectory=subdir_path" # install a python package from a repo subdirectory
382
384
383
- #. Install a package with `extras `_.
385
+ #. Install a package with extras, i.e., optional dependencies
386
+ (:ref: `specification <pypug:dependency-specifiers >`).
384
387
385
388
.. tab :: Unix/macOS
386
389
@@ -418,7 +421,8 @@ Examples
418
421
py -m pip install " ./downloads/SomePackage-1.0.4.tar.gz"
419
422
py -m pip install " http://my.package.repo/SomePackage-1.0.4.zip"
420
423
421
- #. Install a particular source archive file following :pep: `440 ` direct references.
424
+ #. Install a particular source archive file following direct references
425
+ (:ref: `specification <pypug:dependency-specifiers >`).
422
426
423
427
.. tab :: Unix/macOS
424
428
@@ -539,5 +543,4 @@ Examples
539
543
540
544
py -m pip install SomePackage1 SomePackage2 --no-binary SomePackage1
541
545
542
- .. _extras : https://www.python.org/dev/peps/pep-0508/#extras
543
546
.. _PyPI : https://pypi.org/
0 commit comments