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

Add initial support for license-files #705

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

cdce8p
Copy link

@cdce8p cdce8p commented Nov 20, 2024

Add support for the license-files key in pyproject.toml.
https://peps.python.org/pep-0639/#add-license-files-key
https://peps.python.org/pep-0639/#add-license-file-field

This PR only adds the required validation and ensures the license files are properly packaged in the .dist-info/licenses folder. It doesn't add the License-File key to the metadata as that requires full support for metadata version 2.4.

Work on #692

@cdce8p
Copy link
Author

cdce8p commented Nov 21, 2024

@takluyver Would love to get your opinion here. I do plan to continue working on the PEP 639 support afterwards.

doc/pyproject_toml.rst Outdated Show resolved Hide resolved
flit_core/flit_core/config.py Outdated Show resolved Hide resolved
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