Skip to content

Commit

Permalink
Include license file in the generated wheel package (celery#4404)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
jdufresne authored and Omer Katz committed Nov 27, 2017
1 parent f148709 commit e962a72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ requires = pytz >= 2016.7

[bdist_wheel]
universal = 1

[metadata]
license_file = LICENSE

0 comments on commit e962a72

Please sign in to comment.