We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd6c4ad commit 94c86f8Copy full SHA for 94c86f8
news/13134.feature.rst
@@ -0,0 +1,4 @@
1
+Support :pep:`639` License-Expression and License-File metadata fields in json
2
+output. ``pip inspect`` and ``pip install --report`` now emit
3
+``license_expression`` and ``license_file`` fields in the ``metadata`` object,
4
+if the corresponding fields are present in the installed ``METADATA`` file.
src/pip/_internal/metadata/_json.py
@@ -23,6 +23,8 @@
23
("Maintainer", False),
24
("Maintainer-email", False),
25
("License", False),
26
+ ("License-Expression", False),
27
+ ("License-File", True),
28
("Classifier", True),
29
("Requires-Dist", True),
30
("Requires-Python", False),
0 commit comments