aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-04-11 06:44:45 -0700
committerEli Bendersky <eliben@users.noreply.github.com>2018-04-11 06:44:45 -0700
commite2ed623203e0357180606606121c6df66215764b (patch)
tree655a71c18f159e1d4111b68d04d1ba6361111e6e
parent667051a92be99c7612a196a63f1132fd28c3e2fb (diff)
downloadpycparser-e2ed623203e0357180606606121c6df66215764b.tar.gz
Include license file in the generated wheel package (#249)
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 package comply with its own license: > * Redistributions of source code must retain the above copyright notice, this > list of conditions and the following disclaimer. > * Redistributions in binary form must reproduce the above copyright notice, > this list of conditions and the following disclaimer in the documentation > and/or other materials provided with the distribution.
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 2a9acf1..ed8a958 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[bdist_wheel]
universal = 1
+
+[metadata]
+license_file = LICENSE