]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Include license file in the generated wheel package
authorJon Dufresne <jon.dufresne@gmail.com>
Sat, 21 Oct 2017 16:47:07 +0000 (09:47 -0700)
committerAarni Koskela <akx@iki.fi>
Sun, 22 Oct 2017 09:32:58 +0000 (12:32 +0300)
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

setup.cfg

index c2d8f87e9e45c65c9bf9a310875484df18057198..d5f180a24d1e9e521741d24adf29a1f2773ce4f3 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -7,3 +7,6 @@ doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE ALLOW_UNICODE IGNORE_EXCEPTI
 
 [bdist_wheel]
 universal = 1
+
+[metadata]
+license_file = LICENSE