summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-11-12 10:14:25 -0800
committerBernát Gábor <gaborjbernat@gmail.com>2018-11-12 18:14:25 +0000
commit1e8fa7ba9d88aefb1888cc0a951a252f7098f311 (patch)
treeb6edc8381e6854f3bade3801d4662b76e826a357 /setup.cfg
parent2ef9c88b44d7ed75090c13e246958139ce1ca989 (diff)
downloadtox-git-1e8fa7ba9d88aefb1888cc0a951a252f7098f311.tar.gz
Include license file in the generated wheel package (#1083)
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/user_guide.html#including-license-files-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 2a9acf13..ed8a958e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[bdist_wheel]
universal = 1
+
+[metadata]
+license_file = LICENSE