#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 , 8 years ago
| Summary: | setup.cfg may be formatted improperly → setup.cfg may be set up incorrectly |
|---|
comment:2 by , 8 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
| Summary: | setup.cfg may be set up incorrectly → Wheel files don't include the license properly |
Note:
See TracTickets
for help on using tickets.
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.