diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-11-12 10:14:25 -0800 |
---|---|---|
committer | Bernát Gábor <gaborjbernat@gmail.com> | 2018-11-12 18:14:25 +0000 |
commit | 1e8fa7ba9d88aefb1888cc0a951a252f7098f311 (patch) | |
tree | b6edc8381e6854f3bade3801d4662b76e826a357 | |
parent | 2ef9c88b44d7ed75090c13e246958139ce1ca989 (diff) | |
download | tox-git-1e8fa7ba9d88aefb1888cc0a951a252f7098f311.tar.gz |
Include license file in the generated wheel package (#1083)
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/user_guide.html#including-license-files-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.
-rw-r--r-- | docs/changelog/1083.misc.rst | 1 | ||||
-rw-r--r-- | setup.cfg | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/changelog/1083.misc.rst b/docs/changelog/1083.misc.rst new file mode 100644 index 00000000..9cf6c661 --- /dev/null +++ b/docs/changelog/1083.misc.rst @@ -0,0 +1 @@ +Include the license file in the wheel distribution - by :user:`jdufresne`. @@ -1,2 +1,5 @@ [bdist_wheel] universal = 1 + +[metadata] +license_file = LICENSE |