Skip to content

Commit 0a78421

Browse files
sinorocbhrutledge
andauthored
Fix or replace references to PEP 427 (#1229)
PEP 427 is about the binary distribution format *wheel*. The full standard specification is available in the guide so we should link to it instead of the PEP. The PEP is rather a historical document, PEPs are part of the process, they are not the specification document. Co-authored-by: Brian Rutledge <[email protected]>
1 parent 4d3825a commit 0a78421

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

source/discussions/wheel-vs-egg.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ Distribution>` and :term:`binary <Binary Distribution>` packaging for Python.
1717
Here's a breakdown of the important differences between :term:`Wheel` and :term:`Egg`.
1818

1919

20-
* :term:`Wheel` has an :pep:`official PEP <427>`. :term:`Egg` did not.
20+
* :term:`Wheel` has an :doc:`official standard specification
21+
</specifications/binary-distribution-format>`.
22+
:term:`Egg` did not.
2123

2224
* :term:`Wheel` is a :term:`distribution <Distribution Package>` format, i.e a packaging
2325
format. [1]_ :term:`Egg` was both a distribution format and a runtime
@@ -45,5 +47,5 @@ Here's a breakdown of the important differences between :term:`Wheel` and :term:
4547
----
4648

4749
.. [1] Circumstantially, in some cases, wheels can be used as an importable
48-
runtime format, although :pep:`this is not officially supported at this time
49-
<427#is-it-possible-to-import-python-code-directly-from-a-wheel-file>`.
50+
runtime format, although :ref:`this is not officially supported at this time
51+
<binary-distribution-format-import-wheel>`.

source/glossary.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ Glossary
237237

238238
Wheel
239239

240-
A :term:`Built Distribution` format introduced by :pep:`427`,
240+
A :term:`Built Distribution` format introduced by an official
241+
:doc:`standard specification
242+
</specifications/binary-distribution-format/>`,
241243
which is intended to replace the :term:`Egg` format. Wheel is currently
242244
supported by :ref:`pip`.
243245

source/specifications/binary-distribution-format.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,8 @@ What's the deal with "purelib" vs. "platlib"?
409409
be at the root with the appropriate setting given for "Root-is-purelib".
410410

411411

412+
.. _binary-distribution-format-import-wheel:
413+
412414
Is it possible to import Python code directly from a wheel file?
413415
----------------------------------------------------------------
414416

source/specifications/platform-compatibility-tags.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Why not use special character <X> rather than ``.`` or ``-``?
274274
in some contexts (for example, ``+`` must be quoted in URLs, ``~`` is
275275
used to denote the user's home directory in POSIX), or because the
276276
advantages weren't sufficiently compelling to justify changing the
277-
existing reference implementation for the wheel format defined in :pep:427
277+
existing reference implementation for the wheel format defined in :pep:`427`
278278
(for example, using ``,`` rather than ``.`` to separate components
279279
in a compressed tag).
280280

0 commit comments

Comments
 (0)