Closed
Description
It seems that scikit-build-core
defines CMAKE_INSTALL_PREFIX
to site-packages
, that is, everything is assumed to by either Python files or Python C extensions.
However, I need to install a C library, and I cannot do it somehow, although it should go to /lib/
directly, not to /lib/pythonX.Y/site-packages
,
where initial /
is the root of a virtual environment.
I am trying to install the library this way:
install(TARGETS oif_dispatch DESTINATION ../..)
and the library is just not getting installed at all, with the following lines during pip install -v
:
-- Installing: /tmp/tmp2c5eaghh/wheel/platlib/../../liboif_dispatch.so
-- Set non-toolchain portion of runtime path of "/tmp/tmp2c5eaghh/wheel/platlib/../../liboif_dispatch.so" to ""
So, I cannot find it anywhere in the virtual environment.
Question how to write the install
command, so that scikit-build-core
installs the actual library? Thank you!
Metadata
Metadata
Assignees
Labels
No labels