File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -460,6 +460,14 @@ License
460
460
=======
461
461
462
462
.. versionadded :: 1.0
463
+ .. deprecated :: 2.4
464
+ in favour of ``License-Expression ``.
465
+
466
+ .. warning ::
467
+ As of Metadata 2.4, ``License `` and ``License-Expression `` are mutually
468
+ exclusive. If both are specified, tools which parse metadata will disregard
469
+ ``License `` and PyPI will reject uploads.
470
+ See `PEP 639 <https://peps.python.org/pep-0639/#deprecate-license-field >`__.
463
471
464
472
Text indicating the license covering the distribution where the license
465
473
is not a selection from the "License" Trove classifiers. See
@@ -510,7 +518,7 @@ License-File (multiple use)
510
518
511
519
Each entry is a string representation of the path of a license-related file.
512
520
The path is located within the project source tree, relative to the project
513
- root directory.
521
+ root directory. For details see :pep: ` 639 `.
514
522
515
523
Examples::
516
524
@@ -534,6 +542,11 @@ for the distribution. Classifiers are described in :pep:`301`,
534
542
and the Python Package Index publishes a dynamic list of
535
543
`currently defined classifiers <https://pypi.org/classifiers/ >`__.
536
544
545
+ .. note ::
546
+ The use of ``License :: `` classifiers is deprecated as of Metadata 2.4,
547
+ use ``License-Expression `` instead. See
548
+ `PEP 639 <https://peps.python.org/pep-0639/#deprecate-license-classifiers >`_.
549
+
537
550
This field may be followed by an environment marker after a semicolon.
538
551
539
552
Examples::
You can’t perform that action at this time.
0 commit comments