summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2019-01-15 22:44:19 +0100
committerUlf Magnusson <ulfalizer@gmail.com>2019-01-15 23:18:38 +0100
commitc9c7f59a2bdbdcdbea041ec818c011f7a6f26c52 (patch)
tree5bf850b29c879998feeaa023b9442b0b82171577
parent770abd61a5c90837d9336afd972090eebbc26b0b (diff)
Package LICENSE.txt in source distributions and wheels
Some distros might require this. Fixes https://github.com/ulfalizer/Kconfiglib/issues/65.
-rw-r--r--MANIFEST.in2
-rw-r--r--setup.cfg7
2 files changed, 7 insertions, 2 deletions
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..881a794
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,2 @@
+# Include the license file in source distributions
+include LICENSE.txt
diff --git a/setup.cfg b/setup.cfg
index f83635a..8720de1 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,3 +1,6 @@
[bdist_wheel]
-# We support both Python 2 and Python 3
-universal=1
+ # We support both Python 2 and Python 3
+ universal=1
+[metadata]
+ # Include the license file in wheels
+ license_file = LICENSE.txt