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
This commit is contained in:
Jon Dufresne 2017-10-23 06:33:46 -07:00
parent 8acf55e0f8
commit f6765f591f

View file

@ -2,9 +2,10 @@
test=pytest
[bdist_wheel]
universal=1
universal = 1
[metadata]
license_file = LICENSE
# We document the reasoning for using ranges here:
# http://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
# And in which releases we will update those ranges here: