From: Jon Dufresne Date: Sat, 21 Oct 2017 16:47:07 +0000 (-0700) Subject: Include license file in the generated wheel package X-Git-Tag: v2.5.2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=812c9f0bbf19eb669ecd9195a4a02ba68253a857;p=thirdparty%2Fbabel.git 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 --- diff --git a/setup.cfg b/setup.cfg index c2d8f87e..d5f180a2 100644 --- 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