Skip to content

Commit

Permalink
Sdist spec: Replace PEP reference with internal link now that PEP 517…
Browse files Browse the repository at this point in the history
… is imported
  • Loading branch information
jeanas committed Nov 23, 2023
1 parent 5c30759 commit 40cbf91
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions source/specifications/source-distribution-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,15 @@ Source distributions are also known as *sdists* for short.
Source trees
============

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


Source distribution file name
=============================
Expand Down

0 comments on commit 40cbf91

Please sign in to comment.