-
Notifications
You must be signed in to change notification settings - Fork 16
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
Using cmake extension modules alongside other extension modules #33
Comments
Hi @Xiretza, thanks for raising this point. I'm not really sure to be honest, I'm not expert in setuptools hooks and I naively assumed that each build extension should process only its own stuff. I imagine that also other build extensions implement their own What's the behavior you're experiencing? Are you sure that the line you linked prevents the execution of other build extensions? Can you check on your example by adding some print statements in all |
This project overrides the global cmake-build-extension/example/setup.py Line 106 in 2c3d822
As far as I can tell there can only be one |
Ok now I see what you mean, do you have any suggestion on how to work around this limitation? |
Not really. |
@diegoferigo you could in theory skip most of the preprocessing that is currently being done in the |
Unless I'm misinterpreting something, using
BuildExtension
ascmdclass['build_ext']
insetup.py
makes any non-cmake extension modules completely ineffective, becauseBuildExtension.run()
simply ignores them:cmake-build-extension/src/cmake_build_extension/build_extension.py
Line 82 in 2c3d822
Is my understanding correct? How would I use this project if I also have e.g.
cython
extension modules?The text was updated successfully, but these errors were encountered: