Skip to content

Commit ece48f5

Browse files
committed
intersphinx references to pypa.io
1 parent 34614be commit ece48f5

6 files changed

Lines changed: 18 additions & 17 deletions

File tree

source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828

2929
intersphinx_cache_limit = 0
3030
intersphinx_mapping = {
31-
'pip': ('https://pip.pypa.io/en/latest/', None)
31+
'pip': ('https://pip.pypa.io/en/latest/', None),
32+
'pypa': ('https://pypa.io/en/latest/', None),
3233
}
3334

3435

source/current.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ Packaging Tool Recommendations
5353
(which pip doesn't support). For a detailed breakdown, see :ref:`pip vs
5454
easy_install`.
5555
56-
.. [2] The acceptance of :ref:`PEP453 <PEP453s>` means that :ref:`pip` will be
57-
available by default in most installations of Python 3.4 or later. See
58-
the `rationale section
56+
.. [2] The acceptance of :ref:`PEP453 <pypa:PEP453s>` means that :ref:`pip`
57+
will be available by default in most installations of Python 3.4 or
58+
later. See the `rationale section
5959
<http://www.python.org/dev/peps/pep-0453/#rationale>`_ from :ref:`PEP453
60-
<PEP453s>` as for why pip was chosen.
60+
<pypa:PEP453s>` as for why pip was chosen.
6161
6262
.. [3] Beginning with Python 3.4, ``pyvenv`` will create virtualenv environments
6363
with ``pip`` installed, thereby making it an equal alternative to
@@ -89,7 +89,7 @@ Packaging Tool Recommendations
8989
uploading Windows and Mac OS X wheels, and they should be compatible with
9090
the binary installers provided for download from python.org. Enhancements
9191
will have to be made to the :ref:`wheel compatibility tagging scheme
92-
<PEP425s>` before linux wheels will be allowed.
92+
<pypa:PEP425s>` before linux wheels will be allowed.
9393
9494
.. _distribute: https://pypi.python.org/pypi/distribute
9595
.. _pyvenv: http://docs.python.org/3.4/library/venv.html

source/distributing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ from `sampleproject/setup.py
9090
This will determine how your project is listed on :term:`PyPI <Python Package
9191
Index (PyPI)>`. For details on permitted characters, see the `name
9292
<http://legacy.python.org/dev/peps/pep-0426/#name>`_ section from :ref:`PEP426
93-
<PEP426s>`.
93+
<pypa:PEP426s>`.
9494

9595

9696
Version
@@ -106,7 +106,7 @@ from `sampleproject/setup.py
106106

107107
Projects should aim to comply with the `version scheme
108108
<http://legacy.python.org/dev/peps/pep-0440/#public-version-identifiers>`_
109-
specified in :ref:`PEP440 <PEP440s>`. Here are some examples:
109+
specified in :ref:`PEP440 <pypa:PEP440s>`. Here are some examples:
110110

111111
::
112112

@@ -427,7 +427,7 @@ OSX, or Windows, usually due to containing compiled extensions.
427427

428428
:term:`PyPI <Python Package Index (PyPI)>` currently only allows uploads of
429429
platform wheels for Windows and OS X, NOT linux. Currently, the wheel tag
430-
specification (:ref:`PEP425 <PEP425s>`) does not handle the variation that can
430+
specification (:ref:`PEP425 <pypa:PEP425s>`) does not handle the variation that can
431431
exist across linux distros.
432432

433433

source/glossary.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ Glossary
200200

201201
Wheel
202202

203-
A :term:`Built Distribution` format introduced by :ref:`PEP427s`, which
204-
is intended to replace the :term:`Egg` format. Wheel is currently
203+
A :term:`Built Distribution` format introduced by :ref:`pypa:PEP427s`,
204+
which is intended to replace the :term:`Egg` format. Wheel is currently
205205
supported by :ref:`pip`.
206206

207207
Working Set

source/installing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ We recommend the following installation sequence:
3535

3636
1. Install :ref:`pip` and :ref:`setuptools`: [3]_
3737

38-
If you have a :ref:`PEP453 <PEP453s>`-compliant Python 3.4, it may already
39-
have the ``pip`` command available by default (and setuptools will be
38+
If you have a :ref:`PEP453 <pypa:PEP453s>`-compliant Python 3.4, it may
39+
already have the ``pip`` command available by default (and setuptools will be
4040
installed as well), or it may at least contain a working `ensurepip
4141
<https://docs.python.org/3.4/library/ensurepip.html>`_. To install pip (and
4242
setuptools) using ensurepip, run: ``python -m ensurepip --upgrade``.

source/technical.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Here's a breakdown of the important differences between pip and easy_install now
150150
|List Installed Packages |Yes (``pip list`` and ``pip |No |
151151
| |freeze``) | |
152152
+------------------------------+----------------------------------+-------------------------------+
153-
|:ref:`PEP438 <PEP438s>` |Yes |No |
153+
|:ref:`PEP438 <pypa:PEP438s>` |Yes |No |
154154
|Support | | |
155155
+------------------------------+----------------------------------+-------------------------------+
156156
|Installation format |'Flat' packages with `egg-info` | Encapsulated Egg format |
@@ -195,7 +195,7 @@ easy_install and sys.path
195195
Wheel vs Egg
196196
============
197197

198-
* :term:`Wheel` has an :ref:`official PEP <PEP427s>`. :term:`Egg` did not.
198+
* :term:`Wheel` has an :ref:`official PEP <pypa:PEP427s>`. :term:`Egg` did not.
199199

200200
* :term:`Wheel` is a :term:`distribution <Distribution Package>` format, i.e a packaging
201201
format. [2]_ :term:`Egg` was both a distribution format and a runtime
@@ -206,10 +206,10 @@ Wheel vs Egg
206206
compatible with Python 2 and 3, it's possible for a wheel to be "universal",
207207
similar to an :term:`sdist <Source Distribution (or "sdist")>`.
208208

209-
* :term:`Wheel` uses :ref:`PEP376-compliant <PEP376s>` ``.dist-info``
209+
* :term:`Wheel` uses :ref:`PEP376-compliant <pypa:PEP376s>` ``.dist-info``
210210
directories. Egg used ``.egg-info``.
211211

212-
* :term:`Wheel` has a :ref:`richer file naming convention <PEP425s>`. A single
212+
* :term:`Wheel` has a :ref:`richer file naming convention <pypa:PEP425s>`. A single
213213
wheel archive can indicate its compatibility with a number of Python language
214214
versions and implementations, ABIs, and system architectures.
215215

0 commit comments

Comments
 (0)