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/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.
  • Loading branch information
jdufresne committed Nov 10, 2018
1 parent e8f54e4 commit ed0f964
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,6 +1,9 @@
[bdist_wheel]
universal = 1

[metadata]
license_file = LICENSE.rst

[nosetests]
with-doctest = 1
exe = 1
Expand Down

0 comments on commit ed0f964

Please sign in to comment.