diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-10-15 17:06:42 -0700 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-10-16 17:48:48 -0700 |
commit | 5f3f9a1198011f6bede70b907829cb61e05d18ec (patch) | |
tree | 0e01157bc45f6c06d42cfcf906c0aacbf4d431f6 /setup.cfg | |
parent | ca049ad958f89de4f4f01d7b1015d707ff750a18 (diff) | |
download | pep8-5f3f9a1198011f6bede70b907829cb61e05d18ec.tar.gz |
Include license file in the generated packages
Use MANIFEST.in to include LICENSE in the source distribution.
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
Diffstat (limited to 'setup.cfg')
-rw-r--r-- | setup.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,9 @@ [bdist_wheel] universal = 1 +[metadata] +license_file = LICENSE + [pycodestyle] select = ignore = E226,E24 |