On 12/07/2018 16:22, Cooper Ry Lees wrote:
Hi all,
Side note / side track / I've noticed this recently. Was adding LICENSE file
ever a default for distutils/setuptools to add too sdsists? Has that changed
recently?
I build wheels from sdists from PyPI (to link with my own internal versions of
C libraries etc. - I don't like to trust binaries from the Internet - Call me
old fashioned) and sometimes this fails as there is no LICENSE file (wheel
requires a LICENSE). So to fix this, I go fork the project and add the
MANIFEST.in and include the file. If this never was, or was before, how do we
feel about making LICENSE file included by default into sdists?
P.s. If I should make a separate thread please say so.
Cooper
strange that you think a license is required. I was able to upload without the file, but just having the string in setup.py. In
reportlab we did always have a license.txt and a LICENSE.txt, but neither was being stored in the wheels until I made a change
today. I guess I need to add the stuff in MANIFEST.in for the 'correct' behaviour.
--
Robin Becker
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mm3/mailman3/lists/distutils-sig.python.org/
Message archived at
https://mail.python.org/mm3/archives/list/distutils-sig@python.org/message/Q5AFGVGTI56PWJPOIQ2ZBOVZWTJ3YHEA/