From 6e3d15e35e8568ce18536ecc1ba859188bccabbe Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 26 Nov 2017 10:38:40 -0800 Subject: [PATCH] Include license file in the generated wheel package The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file The wheel now complies with the license: > The above copyright notice and this permission notice shall be > included in all copies or substantial portions of the Software. --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index d863451..742d179 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,8 @@ [bdist_wheel] universal = 1 +[metadata] +license_file = LICENSE + [aliases] test = pytest