Skip to content

Commit 6ae0da5

Browse files
brettcannonwebknjaz
authored andcommitted
Clarify that the license key in pyprojcet.toml should only be set if it is consistent across all distribution files
This change is approved at https://discuss.python.org/t/split-from-pep-639-expressing-project-vs-distribution-licenses-post-pep-639-mod-titled/90314/179 .
1 parent 56c1fef commit 6ae0da5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/specifications/pyproject-toml.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,11 @@ Text string that is a valid SPDX
259259
as specified in :doc:`/specifications/license-expression`.
260260
Tools SHOULD validate and perform case normalization of the expression.
261261

262+
This key should **only** be specified if the license expression for any
263+
and all distribution files generated from the ``pyproject.toml`` is the
264+
same as the one specified. If the license expression will differ then
265+
it should either be specified as dynamic or not set at all.
266+
262267
Legacy specification
263268
''''''''''''''''''''
264269

0 commit comments

Comments
 (0)