Skip to content

Commit 8bacee1

Browse files
committed
Add support for PEP 639 License-Expression.
1 parent b702a91 commit 8bacee1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

metadata.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,11 @@ def discover(cls):
8585

8686
@staticmethod
8787
def _discover_fields():
88-
yield 'Metadata-Version', '2.3'
88+
yield 'Metadata-Version', '2.4'
8989
yield 'Name', discovery.best_name()
9090
yield 'Version', discovery.version_from_vcs()
9191
yield 'Author-Email', discovery.author_from_vcs()
92+
yield 'License-Expression', 'MIT'
9293
yield 'Summary', discovery.summary_from_github()
9394
yield 'Requires-Python', discovery.python_requires_supported()
9495
deps = list(discovery.combined_deps())

0 commit comments

Comments
 (0)