summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-06-16 16:39:12 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2018-06-16 16:40:29 -0700
commit259690a49c65b69a508284769513340d56134217 (patch)
tree9183ea2c2f83abe6624349294bdf2d350fd39602
parent430c5ad767cc946e9da7cd5f4673a4e3bd135a3c (diff)
downloadpyparsing-git-259690a49c65b69a508284769513340d56134217.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 981e089..1885431 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -3,3 +3,6 @@ universal = 1
[wheel]
universal = 1
+
+[metadata]
+license_file = LICENSE