-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
don't split licenses from License
field from python packaging
#5204
Comments
Hello @dus7eh We already check Perhaps we can try to using https://github.com/google/licenseclassifier for But |
Didn't notice earlier that these fields are deprecated. Still it will take some time before they actually go out of use. For the |
Can you send |
Sure thing, here is the field with some context around it:
Although I was slightly mistaken, it's a series of 8 spaces rather than a tab that messes things. When you remove 4 or all 8 spaces in the line between |
It's just a lucky coincidence that Also we still have a lot of meaningless licenses ( e.g. #5211 doesn't separate licenses from |
Just a quick remartk about the article you've mentioned (regarding Another thing is that according to the description and usage (https://packaging.python.org/en/latest/specifications/core-metadata/#license) of If I'm not sure how the full flow works but you've mentioned about using |
Hm... i missed status for PEP639. Then we can try to change fields priority.
I have another idea - we can add new field with text from Thanks for your help and information about this case!
licenseclassifier uses a lot of resources. So we only check LICENSE file if |
I've adjusted the implementation to:
which seems to work quite well. If you handle the |
It takes time to update my PR and integrate these changes. |
Discussed in #5155
License
field in.dist-info/METADATA
files contains textual information about license/exceptions/specific versions/etc... - https://packaging.python.org/en/latest/specifications/core-metadata/#licenseWe can't split this text correctly.
Save this field without division.
The text was updated successfully, but these errors were encountered: