Skip to content

Commit

Permalink
Add support for PEP 639 License-Expression.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 5, 2024
1 parent b702a91 commit 8bacee1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ def discover(cls):

@staticmethod
def _discover_fields():
yield 'Metadata-Version', '2.3'
yield 'Metadata-Version', '2.4'
yield 'Name', discovery.best_name()
yield 'Version', discovery.version_from_vcs()
yield 'Author-Email', discovery.author_from_vcs()
yield 'License-Expression', 'MIT'
yield 'Summary', discovery.summary_from_github()
yield 'Requires-Python', discovery.python_requires_supported()
deps = list(discovery.combined_deps())
Expand Down

0 comments on commit 8bacee1

Please sign in to comment.