From afbea4a9408e0533318b815da1c5870f485f7e55 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sat, 28 Oct 2017 16:22:25 -0700 Subject: 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 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 2bcf8a9..c4dee1d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,9 @@ [bdist_wheel] universal = 1 +[metadata] +license_file = LICENSE + [tool:pytest] xfail_strict = True -- cgit v1.2.1