summaryrefslogtreecommitdiff
path: root/setup.cfg
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
commit601c635d5c34253608bf05e38d9e287dfb6619b3 (patch)
tree466597f4904275b81ad29ed3ed34f1a6b02fda10 /setup.cfg
parentc2465c493421f758230dfd03c343a83e2edea7ea (diff)
downloadpython-coveragepy-601c635d5c34253608bf05e38d9e287dfb6619b3.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
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 1f27d90..1ca402b 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