[Django] #28903: setup.cfg may be formatted improperly

20 views
Skip to first unread message

Django

unread,
Dec 7, 2017, 1:45:06 AM12/7/17
to django-...@googlegroups.com
#28903: setup.cfg may be formatted improperly
-------------------------------------+-------------------------------------
Reporter: Garrett | Owner: nobody
Jenkins |
Type: Bug | Status: new
Component: Packaging | Version: 2.0
Severity: Normal | Keywords: license, wheel,
Triage Stage: | setup.cfg
Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-------------------------------------+-------------------------------------
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
[https://wheel.readthedocs.io/en/stable/#including-the-license-in-the-
generated-wheel-file the wheel docs].

--
Ticket URL: <https://code.djangoproject.com/ticket/28903>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 7, 2017, 1:48:30 AM12/7/17
to django-...@googlegroups.com
#28903: setup.cfg may be set up incorrectly
-------------------------------------+-------------------------------------
Reporter: Garrett Jenkins | Owner: nobody

Type: Bug | Status: new
Component: Packaging | Version: 2.0
Severity: Normal | Resolution:

Keywords: license, wheel, | Triage Stage:
setup.cfg | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

--
Ticket URL: <https://code.djangoproject.com/ticket/28903#comment:1>

Django

unread,
Dec 7, 2017, 9:30:09 AM12/7/17
to django-...@googlegroups.com
#28903: Wheel files don't include the license properly

-------------------------------------+-------------------------------------
Reporter: Garrett Jenkins | Owner: nobody
Type: Bug | Status: closed
Component: Packaging | Version: 2.0
Severity: Normal | Resolution: invalid

Keywords: license, wheel, | Triage Stage:
setup.cfg | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => invalid


Comment:

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.

--
Ticket URL: <https://code.djangoproject.com/ticket/28903#comment:2>

Django

unread,
Dec 8, 2017, 7:24:42 PM12/8/17
to django-...@googlegroups.com
#28903: Wheel files don't include the license properly
-------------------------------------+-------------------------------------
Reporter: Garrett Jenkins | Owner: nobody
Type: Bug | Status: closed
Component: Packaging | Version: 2.0
Severity: Normal | Resolution: invalid

Keywords: license, wheel, | Triage Stage:
setup.cfg | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Garrett Jenkins):

Interesting. Good to know.

--
Ticket URL: <https://code.djangoproject.com/ticket/28903#comment:3>

Reply all
Reply to author
Forward
0 new messages