From 39896a11a5d983523b624c70f9875c222deab6a8 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Sun, 15 Oct 2017 20:10:08 -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 3152ac54..d309fdaa 100644 --- a/setup.cfg +++ b/setup.cfg @@ -9,3 +9,6 @@ exclude = .git,__pycache__,.tox,doc [flake8] ignore = N max-line-length = 139 + +[metadata] +license_file = LICENSE