Skip to content

Commit 6e7375d

Browse files
committed
fixup! Document inclusion of license files in the sdist per PEP 639
1 parent d9f4236 commit 6e7375d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/specifications/source-distribution-format.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ A ``.tar.gz`` source distribution (sdist) contains a single top-level directory
5858
called ``{name}-{version}`` (e.g. ``foo-1.0``), containing the source files of
5959
the package. The name and version MUST match the metadata stored in the file.
6060
This directory must also contain a :file:`pyproject.toml` in the format defined in
61-
:ref:`pyproject-toml-spec`, and a ``PKG-INFO`` file containing
61+
:ref:`pyproject-toml-spec`, and a :file:`PKG-INFO` file containing
6262
metadata in the format described in the :ref:`core-metadata` specification. The
6363
metadata MUST conform to at least version 2.2 of the metadata specification.
6464
If the metadata version is 2.4 or greater, the source distribution MUST contain
65-
any license files specified by the ``License-File`` field in the PKG-INFO
65+
any license files specified by the ``License-File`` field in the :file:`PKG-INFO`
6666
at their respective paths relative to the root directory of the sdist
67-
(containing the :file:`pyproject.toml`` and the ``PKG-INFO`` metadata).
67+
(containing the :file:`pyproject.toml`` and the :file:`PKG-INFO` metadata).
6868

6969
No other content of a sdist is required or defined. Build systems can store
7070
whatever information they need in the sdist to build the project.

0 commit comments

Comments
 (0)