From 2e422481e9c924a0562fca8e35dcaeca7e97edd1 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Tue, 1 Nov 2016 13:18:45 -0700 Subject: [PATCH] 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. --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) 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 '' -- 2.47.3