Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions source/specifications/pyproject-toml.rst
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,12 @@ Text string that is a valid SPDX
as specified in :doc:`/specifications/license-expression`.
Tools SHOULD validate and perform case normalization of the expression.

This key should **only** be specified if the license expression for any
and all distribution files created by a build backend using the
:file:`pyproject.toml` is the same as the one specified. If the license
expression will differ then it should either be specified as dynamic or
not set at all.

Legacy specification
''''''''''''''''''''

Expand Down Expand Up @@ -540,5 +546,8 @@ History
- December 2024: The ``license`` key was redefined, the ``license-files`` key was
added and ``License::`` classifiers were deprecated through :pep:`639`.

- September 2025: Clarity that the ``license`` key applies to all distribution
files generated from the :file:`pyproject.toml` file.


.. _TOML: https://toml.io
Loading