summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2018-03-21 09:29:21 -0700
committerIlya Etingof <etingof@gmail.com>2018-03-21 17:29:21 +0100
commitc384c166dda72a1f17b2b89f9e624463a7482475 (patch)
tree15294d9b6e8fa3d9ae1df9eb24b8204943b8915d /setup.cfg
parent44b59e38080de16942c700d49e15d36f246950e0 (diff)
downloadpyasn1-git-c384c166dda72a1f17b2b89f9e624463a7482475.tar.gz
Include license file in the generated wheel package (#120)
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 Helps the package comply with its own license: > Redistributions in binary form must reproduce the above copyright > notice, this list of conditions and the following disclaimer in the > documentation and/or other materials provided with the distribution.
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 2a9acf1..13b523c 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[bdist_wheel]
universal = 1
+
+[metadata]
+license_file = LICENSE.rst