@@ -6,13 +6,13 @@ Source distribution format
66==========================
77
88The 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
1010of such a distribution was originally specified in :pep: `517 ` and is formally
1111documented here.
1212
1313There is also the legacy source distribution format, implicitly defined by the
1414behaviour of ``distutils `` module in the standard library, when executing
15- `` setup.py sdist ` `. This document does not attempt to standardise this format,
15+ :command: ` setup.py sdist `. This document does not attempt to standardise this format,
1616except to note that if a legacy sdist contains a ``PKG-INFO `` file holding
1717metadata version 2.2 or later, that sdist MUST follow the rules for sdists
1818defined by the metadata specification.
@@ -33,10 +33,10 @@ in the metadata contained in the file.
3333Source distribution file format
3434===============================
3535
36- A .tar.gz source distribution (sdist) contains a single top-level directory
36+ A `` .tar.gz `` source distribution (sdist) contains a single top-level directory
3737called ``{name}-{version} `` (e.g. ``foo-1.0 ``), containing the source files of
3838the 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
39+ This directory must also contain a :file: ` pyproject.toml ` in the format defined in
4040:ref: `declaring-build-dependencies `, and a ``PKG-INFO `` file containing
4141metadata in the format described in the :ref: `core-metadata ` specification. The
4242metadata MUST conform to at least version 2.2 of the metadata specification.
0 commit comments