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

Helps project comply with own 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 authored and uiri committed Aug 30, 2018
1 parent 0c1bbf6 commit fc22727
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,2 +1,5 @@
[bdist_wheel]
universal = True

[metadata]
license_file = LICENSE

0 comments on commit fc22727

Please sign in to comment.