From f6765f591f771e75b3c6581f9377ae16de6c121a Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 23 Oct 2017 06:33:46 -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, 2 insertions(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index c035d56..fadd0f9 100644 --- a/setup.cfg +++ b/setup.cfg @@ -2,9 +2,10 @@ test=pytest [bdist_wheel] -universal=1 +universal = 1 [metadata] +license_file = LICENSE # We document the reasoning for using ranges here: # http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies # And in which releases we will update those ranges here: