Skip to content

Add SPDX license identifier #1989

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

cdce8p
Copy link

@cdce8p cdce8p commented Apr 23, 2025

Prepare for PEP 639 license expressions.

Setuptools v77 added full support for it. However that version requires Python >=3.9. Until 3.8 is dropped, the next best thing would be to use the legacy license.text field with the correct SPDX license identifier.

All that's needed later would be

-license.text = "BSD-3-Clause"
+license = "BSD-3-Clause"

https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license-and-license-files
https://spdx.org/licenses/BSD-3-Clause.html

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.

1 participant