Opened 7 months ago

Closed 7 months ago

Last modified 7 months 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 Changed 7 months ago by Garrett Jenkins

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

comment:2 Changed 7 months 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 7 months ago by Garrett Jenkins

Interesting. Good to know.

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