Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Store license identifier inside the License-Expression metadata field #4479

Merged
merged 3 commits into from
Oct 11, 2024

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Oct 11, 2024

Description

The hatch documentation recommends to use just license = "MIT" instead of license = { text = "MIT" }.
https://hatch.pypa.io/1.9/config/metadata/#spdx-expression

With that hatchling will write a compatible License-Expression to the package metadata.

...
License-Expression: MIT
...

Copy link
Collaborator

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@JelleZijlstra JelleZijlstra merged commit 9995bff into psf:main Oct 11, 2024
46 checks passed
@cdce8p cdce8p deleted the license-metadata branch October 11, 2024 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants