From 975ca9cefc9ee0b718a7849c0842e1fccb035baa Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Tue, 28 Aug 2018 04:58:21 -0700 Subject: [PATCH] Include license file in the generated wheel package (#484) 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 Helps project comply with its own 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 a9a649e..f2a768a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ [bdist_wheel] python-tag = py36 + +[metadata] +license_file = LICENSE -- 2.39.2