summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-08-28 03:11:05 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-08-28 03:11:07 -0700
commite14af2a28109b1b05bc3143834d86b56634ff7ce (patch)
tree27d2d73008b9b98b906a344e96def26da6c3a015 /setup.cfg
parent6d0a27856ff5ffef6cedb0cf442cb386edbbbd66 (diff)
downloadappdirs-e14af2a28109b1b05bc3143834d86b56634ff7ce.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 Helps project comply with its own license: > The above copyright notice and this permission notice shall be > included in all copies or substantial portions of the Software.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 7c964b4..15d7017 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[wheel]
universal=1
+
+[metadata]
+license_file = LICENSE.txt