-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Fix setuptools deprecation warnings #10300
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
Conversation
gcaria
commented
May 9, 2025
- Closes setuptools deprecation warnings #10191
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.
top stuff is great (can merge that now if you prefer), I think we can be more standard for the setuptools
work
pyproject.toml
Outdated
include-package-data = false | ||
|
||
[tool.setuptools.package-data] | ||
"*" = ["*.py"] |
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.
I think we need something like this:
[tool.setuptools.packages.find]
include = ["xarray*"]
...since that change will preclude *.pyi
files...
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.
ah yes! I had definitely misinterpreted the original issue
thanks @gcaria ! |
(feel free to add whatsnew entries for these in a separate PR!) |
Thanks @gcaria! @max-sixty's above suggestion is still valid. |