Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#28903 closed Bug (invalid)

Wheel files don't include the license properly

Reported by: Garrett Jenkins Owned by: nobody
Component: Packaging Version: 2.0
Severity: Normal Keywords: license, wheel, setup.cfg
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no


I may be wrong, but assuming "license-file" is set in setup.cfg because someone wanted to include the license with wheel distributions, it should be changed to "license_file" instead, as per the wheel docs.

Change History (3)

comment:1 Changed 3 years ago by Garrett Jenkins

Summary: setup.cfg may be formatted improperlysetup.cfg may be set up incorrectly

comment:2 Changed 3 years ago by Tim Graham

Resolution: invalid
Status: newclosed
Summary: setup.cfg may be set up incorrectlyWheel files don't include the license properly

I removed "license-file" from setup.cfg, generated a wheel, and saw that LICENSE.txt is no longer present in the .dist-info directory of the wheel. I guess either license-file or license_file are acceptable values.

comment:3 Changed 3 years ago by Garrett Jenkins

Interesting. Good to know.

Note: See TracTickets for help on using tickets.
Back to Top