From de69888394ab667bde738f6a73b1cfcaad1513c9 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 26 Nov 2017 08:56:45 -0800 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 1f27d906..1ca402b3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,3 +11,6 @@ markers = # The rest are the default ignored warnings. ignore = E265,E266,E123,E133,E226,E241,E242,E301,E401 max-line-length = 100 + +[metadata] +license_file = LICENSE.txt -- cgit v1.2.1