-
Notifications
You must be signed in to change notification settings - Fork 200
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 MANIFEST.in use auto-generated one for sdists and package_data for wheels #1233
Conversation
@vyasr Can you cross-reference this with a bug report in scikit-build? |
Where do you want it? In the PR or somewhere in the source (and if in the source, where)? |
Just link it in this PR, please. |
Do sdists work? Do we still ship all the pyx/pxd/CMake files in wheels? If so, I can approve. edit: Nevermind, I see this in the PR description. I assume “all the necessary files” includes these. |
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.
Please cross-link an issue in scikit-build, then this should be good to go.
Strictly speaking sdists never worked, and they still don't, in the sense that produced sdists aren't sufficient to build with because they do not include the C++ component of rmm. However that isn't something that's in scope for fixing in this PR. It looks like my original solution here doesn't quite work though unfortunately. Generated sdists do contain the correct files from the autogenerated manifest, but wheels do not respect this manifest. That is disappointingly different from how manually provided manifests work, and means that we do still have to write |
OK I've verified that the packages being generated (both wheels and conda) contain the pxd files now. |
/merge |
Description
Using MANIFEST.in currently runs into a pretty nasty scikit-build bug (scikit-build/scikit-build#886) that results in any file included by the manifest being copied from the install tree back into the source tree whenever an in place build occurs after an install, overwriting any local changes. We need an alternative approach to ensure that all necessary files are included in built packages. There are two types:
package_data
argument tosetup
. In this case we do not need to include CMake or pyx files because the result does not need to be possible to build from, it just needs pxd files for other packages to cimport if desired.Checklist