Skip to content

Commit 7cc7fac

Browse files
committed
Merge branch 'pep643' of https://github.com/pfmoore/python-packaging-user-guide into pep643
2 parents 886bb62 + 5da5bc6 commit 7cc7fac

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

source/specifications/binary-distribution-format.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
Binary distribution format
66
==========================
77

8-
The binary distribution format (``wheel``) is defined in :pep:`427`.
8+
The binary distribution format (:term:`wheel <Wheel>`) is defined in :pep:`427`.

source/specifications/source-distribution-format.rst

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ Source distribution format
66
==========================
77

88
The current standard format of source distribution format is identified by the
9-
presence of a ``pyproject.toml`` file in the distribution archive. The layout
9+
presence of a :file:`pyproject.toml` file in the distribution archive. The layout
1010
of such a distribution was originally specified in :pep:`517` and is formally
1111
documented here.
1212

1313
There is also the legacy source distribution format, implicitly defined by the
1414
behaviour of ``distutils`` module in the standard library, when executing
15-
``setup.py sdist``. This document does not attempt to standardise this format,
16-
except to note that if a legacy source distribution contains a ``PKG-INFO``
17-
file holding metadata version 2.2 or later, then it MUST follow the rules
18-
applicable to source distributions defined in the metadata specification.
15+
:command:`setup.py sdist`. This document does not attempt to standardise this
16+
format, except to note that if a legacy source distribution contains a
17+
``PKG-INFO`` file using metadata version 2.2 or later, then it MUST follow
18+
the rules applicable to source distributions defined in the metadata
19+
specification.
1920

2021
Source distributions are also known as *sdists* for short.
2122

@@ -36,7 +37,7 @@ Source distribution file format
3637
A ``.tar.gz`` source distribution (sdist) contains a single top-level directory
3738
called ``{name}-{version}`` (e.g. ``foo-1.0``), containing the source files of
3839
the package. The name and version MUST match the metadata stored in the file.
39-
This directory must also contain a ``pyproject.toml`` in the format defined in
40+
This directory must also contain a :file:`pyproject.toml` in the format defined in
4041
:ref:`declaring-build-dependencies`, and a ``PKG-INFO`` file containing
4142
metadata in the format described in the :ref:`core-metadata` specification. The
4243
metadata MUST conform to at least version 2.2 of the metadata specification.

0 commit comments

Comments
 (0)