Skip to content

Commit bfb91a2

Browse files
authored
Merge pull request #2181 from SpecLad/canonical-link
writing-pyproject-toml: link to the canonical spec instead of PEP 621
2 parents 3d95d2b + 4766428 commit bfb91a2

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎source/guides/writing-pyproject-toml.rst‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,8 @@ The full license list is available at the
375375
.. note:: If you get a build error that ``license`` should be a dict/table,
376376
your build backend doesn't yet support the new format. See the
377377
`above section <license-and-license-files_>`_ for more context.
378-
The now deprecated format is `described in PEP 621 <https://peps.python.org/pep-0621/#license>`__.
378+
The now deprecated format is described in
379+
:ref:`the pyproject.toml specification <pyproject-toml-license-legacy>`.
379380

380381
As a general rule, it is a good idea to use a standard, well-known
381382
license, both to avoid confusion and because some organizations avoid software

‎source/specifications/pyproject-toml.rst‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ and all distribution files created by a build backend using the
277277
expression will differ then it should either be specified as dynamic or
278278
not set at all.
279279

280+
.. _pyproject-toml-license-legacy:
281+
280282
Legacy specification
281283
''''''''''''''''''''
282284

0 commit comments

Comments
 (0)