summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-10-15 17:06:42 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2017-10-16 17:48:48 -0700
commit5f3f9a1198011f6bede70b907829cb61e05d18ec (patch)
tree0e01157bc45f6c06d42cfcf906c0aacbf4d431f6 /setup.cfg
parentca049ad958f89de4f4f01d7b1015d707ff750a18 (diff)
downloadpep8-5f3f9a1198011f6bede70b907829cb61e05d18ec.tar.gz
Include license file in the generated packages
Use MANIFEST.in to include LICENSE in the source distribution. 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 fcc079a..91ea674 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,9 @@
[bdist_wheel]
universal = 1
+[metadata]
+license_file = LICENSE
+
[pycodestyle]
select =
ignore = E226,E24