From: Jon Dufresne Date: Tue, 28 Aug 2018 11:58:21 +0000 (-0700) Subject: Include license file in the generated wheel package (#484) X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/975ca9cefc9ee0b718a7849c0842e1fccb035baa?ds=sidebyside;pf=etc Include license file in the generated wheel package (#484) 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 project comply with its own license: > The above copyright notice and this permission notice shall be > included in all copies or substantial portions of the Software. --- diff --git a/setup.cfg b/setup.cfg index a9a649e..f2a768a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,5 @@ [bdist_wheel] python-tag = py36 + +[metadata] +license_file = LICENSE