diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2018-04-11 06:44:45 -0700 |
---|---|---|
committer | Eli Bendersky <eliben@users.noreply.github.com> | 2018-04-11 06:44:45 -0700 |
commit | e2ed623203e0357180606606121c6df66215764b (patch) | |
tree | 655a71c18f159e1d4111b68d04d1ba6361111e6e | |
parent | 667051a92be99c7612a196a63f1132fd28c3e2fb (diff) | |
download | pycparser-e2ed623203e0357180606606121c6df66215764b.tar.gz |
Include license file in the generated wheel package (#249)
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 package 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.
-rw-r--r-- | setup.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,2 +1,5 @@ [bdist_wheel] universal = 1 + +[metadata] +license_file = LICENSE |