From 5ddac80cec29de8ab08f124fbace86188b43fdce Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 26 Nov 2017 10:42:30 -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 --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.cfg b/setup.cfg index 0d41934f..a5efdcfa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -27,3 +27,6 @@ static_libpq=0 # Add here eventual extra libraries required to link the module. libraries= + +[metadata] +license_file = LICENSE