Opened 6 years ago

Closed 6 years ago

Last modified 6 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

Description

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 by Garrett Jenkins, 6 years ago

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

comment:2 by Tim Graham, 6 years ago

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 by Garrett Jenkins, 6 years ago

Interesting. Good to know.

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