-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated license_file from setup.cfg #6375
Remove deprecated license_file from setup.cfg #6375
Conversation
@@ -10,7 +10,6 @@ project_urls = | |||
author = Holger Krekel, Bruno Oliveira, Ronny Pfannschmidt, Floris Bruynooghe, Brianna Laugher, Florian Bruhin and others | |||
|
|||
license = MIT license | |||
license_file = LICENSE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIRC LICENSE
is added automatically when found in newer setuptools, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It'll be automatically included in sdists by setuptools-scm (#6348 (comment)), and by wheel in wheels (https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the confirmation! 👍
@hugovk |
Starting with wheel 0.32.0 (2018-09-29), the `license_file` option is deprecated. * https://wheel.readthedocs.io/en/stable/news.html The wheel will continue to include `LICENSE`, it is now included automatically: * https://wheel.readthedocs.io/en/stable/user_guide.html#including-license-files-in-the-generated-wheel-file And `LICENSE` is still included in sdists thanks to setuptools-scm: * #6348 (comment)
Done, how's this? fe343a7 |
Awesome, thanks! |
master
branch for bug fixes, documentation updates and trivial changes.features
branch for new features, improvements, and removals/deprecations.Unless your change is trivial or a small documentation fix (e.g., a typo or reword of a small section) please:
[trivial] Create a new changelog file in the
changelog
folder, with a name like<ISSUE NUMBER>.<TYPE>.rst
. See changelog/README.rst for details.Add yourself to
AUTHORS
in alphabetical order.Replaces and closes #6348.
Starting with wheel 0.32.0 (2018-09-29), the
license_file
option is deprecated.The wheel will continue to include
LICENSE
, it is now included automatically:And
LICENSE
is still included in sdists thanks to setuptools-scm: