aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-10-15 20:31:10 -0700
committerJon Dufresne <jon.dufresne@gmail.com>2017-10-15 20:31:10 -0700
commitca9d086aa03cc40ee9024ae933d623799ac0c841 (patch)
treef8a3200a74fa5b5a31fad4d3eaf8adc9c14495f6
parent2958de38af3529bba1fe4a27bd20e02c8ca16e1f (diff)
downloadexternal_python_setuptools-ca9d086aa03cc40ee9024ae933d623799ac0c841.tar.gz
external_python_setuptools-ca9d086aa03cc40ee9024ae933d623799ac0c841.tar.bz2
external_python_setuptools-ca9d086aa03cc40ee9024ae933d623799ac0c841.zip
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
-rwxr-xr-xsetup.cfg4
1 files changed, 3 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index c1ee1ba4..8422a269 100755
--- a/setup.cfg
+++ b/setup.cfg
@@ -22,5 +22,7 @@ formats = zip
[bdist_wheel]
universal = 1
-[bumpversion:file:setup.py]
+[metadata]
+license_file = LICENSE
+[bumpversion:file:setup.py]