From: Philippe Ombredanne Date: Tue, 1 Nov 2016 20:18:45 +0000 (-0700) Subject: Add license_file to setup.cfg metadata (#609) X-Git-Tag: 2.9~87^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e422481e9c924a0562fca8e35dcaeca7e97edd1;p=thirdparty%2Fjinja.git Add license_file to setup.cfg metadata (#609) Without this, the LICENSE file is never included in the built wheels: this makes it harder for users to comply with the license. With this addition a file LICENSE.txt will be created in the `xxx.dist-info` directory with the content of the `license_file` file, e.g. the top level LICENSE. --- diff --git a/setup.cfg b/setup.cfg index 058cdfc1..166423e5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,9 @@ [wheel] universal = 1 +[metadata] +license_file = LICENSE + [aliases] release = egg_info -RDb ''