Parcourir la source

Include license file in the generated wheel package (#4404)

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 a wheel now complies with license:

> Redistributions in binary form must reproduce the above copyright
> notice, this list of conditions and the following disclaimer in the
> documentation and/or other materials provided with the distribution.
Jon Dufresne il y a 7 ans
Parent
commit
e962a72507
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      setup.cfg

+ 3 - 0
setup.cfg

@@ -22,3 +22,6 @@ requires = pytz >= 2016.7
 
 [bdist_wheel]
 universal = 1
+
+[metadata]
+license_file = LICENSE