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-files in licenses subfolder #4728

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

Conversation

cdce8p
Copy link
Contributor

@cdce8p cdce8p commented Nov 3, 2024

Summary of changes

The initial draft of PEP 639 specified that license files should be written directly to the .dist-info folder. This was changed in later iterations. The files should now be written to .dist-info/licenses and the root folder structure should be recreated to avoid name conflicts.

Additional changes to be spec compliant:

  • Added support for recursive license_files specifier, e.g. **/LICENSE.
  • Normalize License-File path delimiter.

Closes #3596
Refs #4629

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.

[FR] Support License-File root license directory (PEP 639)
1 participant