Skip to content

Commit d348fdf

Browse files
committed
Docs: Link directly to PEPs (#3770)
2 parents f45c54a + 20efb6f commit d348fdf

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

docs/artwork.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Inspiration
6565
This design was inspired by :user:`cajhne`'s `original proposal`_ and the
6666
ancient symbol of the ouroboros_.
6767
It features a snake moving in a circular trajectory not only as a reference to
68-
the Python programming language but also to the `wheel package format`_ as one
68+
the Python programming language but also to the :pep:`wheel package format <427>` as one
6969
of the distribution formats supported by setuptools.
7070
The shape of the snake also resembles a cog, which together with the hammer is
7171
a nod to the two words that compose the name of the project.
@@ -115,5 +115,4 @@ https://github.com/pypa/setuptools or https://setuptools.pypa.io.
115115
.. _setuptools repository: https://github.com/pypa/setuptools
116116
.. _install the correct fonts: https://wiki.inkscape.org/wiki/Installing_fonts
117117
.. _original proposal: https://github.com/pypa/setuptools/issues/2227#issuecomment-653628344
118-
.. _wheel package format: https://www.python.org/dev/peps/pep-0427/
119118
.. _ouroboros: https://en.wikipedia.org/wiki/Ouroboros

docs/build_meta.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ overhaul. Because ``setup.py`` scripts allow for arbitrary execution, it
1616
is difficult to provide a reliable user experience across environments
1717
and history.
1818

19-
`PEP 517 <https://www.python.org/dev/peps/pep-0517/>`_ came to
19+
:pep:`517` came to
2020
the rescue and specified a new standard for packaging and distributing Python
2121
modules. Under PEP 517:
2222

docs/deprecated/easy_install.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -989,9 +989,7 @@ The following section lists only the easiest and most relevant approaches [1]_.
989989

990990
`Use "virtualenv"`_
991991

992-
.. [1] There are older ways to achieve custom installation using various ``easy_install`` and ``setup.py install`` options, combined with ``PYTHONPATH`` and/or ``PYTHONUSERBASE`` alterations, but all of these are effectively deprecated by the User scheme brought in by `PEP-370`_.
993-
994-
.. _PEP-370: http://www.python.org/dev/peps/pep-0370/
992+
.. [1] There are older ways to achieve custom installation using various ``easy_install`` and ``setup.py install`` options, combined with ``PYTHONPATH`` and/or ``PYTHONUSERBASE`` alterations, but all of these are effectively deprecated by the User scheme brought in by :pep:`370`.
995993
996994
997995
Use the "--user" option

docs/userguide/package_discovery.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ available to your interpreter.
508508
Legacy Namespace Packages
509509
=========================
510510
The fact you can create namespace packages so effortlessly above is credited
511-
to `PEP 420 <https://www.python.org/dev/peps/pep-0420/>`_. It used to be more
511+
to :pep:`420`. It used to be more
512512
cumbersome to accomplish the same result. Historically, there were two methods
513513
to create namespace packages. One is the ``pkg_resources`` style supported by
514514
``setuptools`` and the other one being ``pkgutils`` style offered by

0 commit comments

Comments
 (0)