Skip to content

Commit

Permalink
Include license file in the generated wheel package
Browse files Browse the repository at this point in the history
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

The wheel now complies with the license:

> The above copyright notice and this permission notice shall be
> included in all copies or substantial portions of the Software.
  • Loading branch information
jdufresne committed Nov 26, 2017
1 parent 9967fb7 commit 6e3d15e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
[bdist_wheel]
universal = 1

[metadata]
license_file = LICENSE

[aliases]
test = pytest

0 comments on commit 6e3d15e

Please sign in to comment.