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

Distributing 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 authored and ingydotnet committed Mar 8, 2019
1 parent 857dff1 commit 611ba39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@
#library_dirs=../../../libyaml/tags/0.1.4/win32/vs2008/output/release/lib
#define=YAML_DECLARE_STATIC

[metadata]
license_file = LICENSE

0 comments on commit 611ba39

Please sign in to comment.