Replies: 1 comment 1 reply
-
|
You can set the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a project which wraps some C++ libraries using pybind11 and then packages them in a wheel for installation, locally or in a Docker image.
I'm trying to migrate our old setup.py configs to
scikit_build_coreHowever, I see that a large number of 3rd party deps (primarily Eigen) are getting packaged and installed into the wheel.
Note that we are pulling in these deps using CMake's
FetchContent_DeclareandFetchContent_MakeAvailable. The default then is to pull them all into thebuild-*/_deps/subdir. However, when I run the build from the python command below, they are apparently fetched into some temporary build directory, from which they are "installed" into a platlib directory such as/tmp/tmpu3ectkwi/wheel/platlib/include/eigen3/unsupported/In this excerpt, is there something I'm doing wrong with my configuration? I've studied the example at https://github.com/pybind/scikit_build_example but this is quite minimal and doesn't address the question of third-party libraries.
Am running this from the command line as follows:
python -m build --wheel --sdist --verboseBeta Was this translation helpful? Give feedback.
All reactions