summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-10-16 21:45:06 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2017-10-16 21:45:06 -0700
commit62fd0923f1a673ad72e10545c73bb734773b14e9 (patch)
treeda346f9906b81b8f3fa84d428b58d83bc26a32e9
parent1c4c6cb4d2d9e17aca6d660aa77dc295b860d56e (diff)
downloadredis-py-62fd0923f1a673ad72e10545c73bb734773b14e9.tar.gz
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
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 5274325..cdae7c4 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,3 +4,6 @@ exclude = .venv,.tox,dist,docs,build,*.egg
[bdist_wheel]
universal = 1
+
+[metadata]
+license_file = LICENSE