Skip to content

Commit cf263dc

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
1 parent 79910d4 commit cf263dc

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,6 +1,9 @@
11
[bdist_wheel]
22
universal = 1
33

4+
[metadata]
5+
license_file = LICENSE
6+
47
[flake8]
58
ignore = E124,E125,E128,E261,E301,E302,E303
69
max-line-length = 79

0 commit comments

Comments
 (0)