On 2018 Jul 12, at 07:20, Robin Becker <ro...@reportlab.com> wrote:
> ........
>> (full list: https://opensource.org/licenses/alphabetical)
>> The Reportlab licence is listed as "BSD License (BSD license (see 
>> license.txt for details)", but, AFAICS, none of the downloadable files 
>> actually include a license.txt file.
>> (This means redistributing these files is against either of the BSD licences 
>> – they both say "Redistributions of source code must retain the above 
>> copyright notice, this list of conditions and the following disclaimer.")
>> -- 
> .......
> I added the license.txt file that is in source to the setup.py package_data 
> list. However, for the pyRXP package we don't have a way to add the license 
> as this is a pure binary extension which sits on the PYTHONPATH. Is there a 
> setup mechanism to add arbitrary files without a package? As a stopgap I put 
> the source of the license into the setup(license) keyword so the text of the 
> license appears in pyRXP.egg-info inside  PKG-INFO

I believe the current standard way to distribute a LICENSE file with a package 
is to add "include LICENSE" (or whatever the filename is) to MANIFEST.in (which 
adds the file to the sdist) and add "license_file = LICENSE" (or other 
filename) to the [metadata] section of setup.cfg (which adds the file to the 
.dist-info directory of the wheel).
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
Message archived at 

Reply via email to