-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[FR] Support License-File root license directory (PEP 639) #3596
Comments
Thank you for the ticket @hroncok. My doubt here is if we should wait until PEP 639 is finalised instead of risking implementing it again and having to change later. This issue also might require coordination with the |
PEP 639 has been provisionally accepted (with one of the conditions being implementation in at least two build backends 🥺), so this issue now describes the solution agreed upon. |
Thank you very much @befeleme. If any member of the community is interested in giving it a go, PRs are very welcome. |
What's the problem this feature will solve?
The License-File core metadata tag definition in https://peps.python.org/pep-0639/ was updated. Specifically:
And:
Translated to human language, when the
License-File
looks like this:The file should be located in
...dist-info/licenses/LICENSE
. Currently, it is located in...dist-info/LICENSE
directly, based on a previous iteration of this PEP (which is til a draft).Describe the solution you'd like
When including license files in dist-info, move them to the
licenses
directory.Alternative Solutions
An alternate solution is that a tool that reads the License-File core metadata tag should look for the files in both locations.
Additional context
hatchling already follows this and includes the license files in the licenses directory.
Thank you ❤️
Code of Conduct
The text was updated successfully, but these errors were encountered: