summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-11-26 08:56:45 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2017-11-26 08:56:45 -0800
commitde69888394ab667bde738f6a73b1cfcaad1513c9 (patch)
tree8bcc90225db29a9b6d8880e5c17214ba09db4612
parent60351e577da4d6913e6e6bcf66c45e5326194a75 (diff)
downloadpython-coveragepy-git-de69888394ab667bde738f6a73b1cfcaad1513c9.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
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 1f27d906..1ca402b3 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -11,3 +11,6 @@ markers =
# The rest are the default ignored warnings.
ignore = E265,E266,E123,E133,E226,E241,E242,E301,E401
max-line-length = 100
+
+[metadata]
+license_file = LICENSE.txt