浏览代码

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 7 年之前
父节点
当前提交
e962a72507
共有 1 个文件被更改,包括 3 次插入0 次删除
  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