]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Add license_file to setup.cfg metadata (#609)
authorPhilippe Ombredanne <pombredanne@gmail.com>
Tue, 1 Nov 2016 20:18:45 +0000 (13:18 -0700)
committerDavid Lord <davidism@gmail.com>
Tue, 1 Nov 2016 20:18:45 +0000 (13:18 -0700)
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

index 058cdfc1c68e178a7eebd3f0286bdbc1ea7a903d..166423e5a879c47ae92d014021bff5a40361f17c 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,9 @@
 [wheel]
 universal = 1
 
+[metadata]
+license_file = LICENSE
+
 [aliases]
 release = egg_info -RDb ''