summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2016-11-06 07:32:00 +0100
committerGitHub <noreply@github.com>2016-11-06 07:32:00 +0100
commitad8d5e8c92cbda2d60f9e33a52ebf5b20cfcfdf5 (patch)
tree6f6bcd0b52a142decf5112caa918648052b669d8 /setup.cfg
parent1ca9e3a7c6d7ac20ee3b2c547bf60a46e26a401b (diff)
downloadpyopenssl-ad8d5e8c92cbda2d60f9e33a52ebf5b20cfcfdf5.tar.gz
Ensure the LICENSE file is part of our wheel (#557)
Also add some comments the other options.
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg10
1 files changed, 9 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 14ed149..c22cb95 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -4,12 +4,20 @@ strict = true
testpaths = tests
[sdist]
-force_manifest=1
+# Forcibly regenerate the manifest on Python 2.6. This is default behavior on
+# 2.7+ making this option deprecated. This should be removed once we drop 2.6.
+force_manifest = 1
[bdist_wheel]
+# We are a pure-Python project so a single wheel is enough.
universal = 1
+[metadata]
+# Ensure LICENSE is included in wheels.
+license_file = LICENSE
+
# bdist_rpm settings contributed by Mihai Ibanescu <misa@redhat.com>
+# This is currently *not* actively tested.
[bdist_rpm]
release = 1
build-requires = openssl-devel python-devel python-sphinx