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.
This commit is contained in:
Jon Dufresne 2017-11-26 12:18:02 -08:00 committed by Ingy döt Net
parent 857dff153d
commit 611ba39507
1 changed files with 2 additions and 0 deletions

View File

@ -27,3 +27,5 @@
#library_dirs=../../../libyaml/tags/0.1.4/win32/vs2008/output/release/lib
#define=YAML_DECLARE_STATIC
[metadata]
license_file = LICENSE