Skip to content

Commit 1e479bb

Browse files
committed
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 Helps project comply with its own license: > * Redistributions of source code must retain the above copyright notice, > this list of conditions and the following disclaimer. > > * 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.
1 parent 66122a9 commit 1e479bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,5 @@
11
[bdist_wheel]
22
universal = 1
3+
4+
[metadata]
5+
license_file = LICENSE.txt

0 commit comments

Comments
 (0)