From c53dc54a305c7aa06e783a352ebf520b6d649c80 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 15 Oct 2017 19:40:10 -0700 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 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 48045a292..4d42ee5c1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,6 +23,9 @@ directory = sphinx/locale/ [wheel] universal = 1 +[metadata] +license_file = LICENSE + [flake8] max-line-length = 95 ignore = E116,E241,E251