Skip to content

Commit 611ba39

Browse files
jdufresneingydotnet
authored andcommitted
Include license file in the generated wheel package
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.
1 parent 857dff1 commit 611ba39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,5 @@
2727
#library_dirs=../../../libyaml/tags/0.1.4/win32/vs2008/output/release/lib
2828
#define=YAML_DECLARE_STATIC
2929

30+
[metadata]
31+
license_file = LICENSE

0 commit comments

Comments
 (0)