Skip to content

Commit 661e6fc

Browse files
committed
Sdist spec: Replace PEP reference with internal link now that PEP 517 is imported
1 parent 287cc22 commit 661e6fc

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

source/specifications/source-distribution-format.rst

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,15 @@ Source distributions are also known as *sdists* for short.
2323
Source trees
2424
============
2525

26-
A *source tree* is a collection of files and directories -- like a version
27-
control system checkout -- which contains a :file:`pyproject.toml` file that
28-
can be use to build a source distribution from the contained files and
29-
directories. :pep:`517` and :pep:`518` specify what is required to meet the
30-
definition of what :file:`pyproject.toml` must contain for something to be
31-
deemed a source tree.
26+
A *source tree* is a collection of files and directories -- like a
27+
version control system checkout -- which contains a
28+
:file:`pyproject.toml` file that can be use to build a source
29+
distribution from the contained files and directories. In order for the
30+
directory to be deemed a source tree, the :file:`pyproject.toml` file is
31+
required to contain a :ref:`[build-system] table
32+
<pyproject-build-system-table>` with both the ``requires`` and
33+
``build-backend`` keys defined.
34+
3235

3336
Source distribution file name
3437
=============================

0 commit comments

Comments
 (0)