summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-08-28 03:11:05 -0700
committerJeff Rouse <jr@its.to>2021-05-25 23:46:11 -0700
commit297370db73f198fe501238027cb28a9550a8ec81 (patch)
tree0c6388147badc13758febd2b1f8102a8983dbec6
parent7af32e0b1fe57070ae8b5a717cdaebc094449518 (diff)
downloadappdirs-297370db73f198fe501238027cb28a9550a8ec81.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.
-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