Wheel repair question #1303
-
Hi all, I am trying to perform wheel repairing on my first c++/python project. The dynamic libraries are built on build time and do not exist beforehand. Here is a quick folder layout. project_folder Using scikit-build and cmake, this compiles into the following folder structure. my_proj/_libs (contains the built runtime dependencies) However, when performing wheel repair, delocate can't find the libraries in the _libs folder. Even using
and setting REPAIR_LIBRSRY_PATH, I still have issues because of locating the temporary dir in which the wheel is built. I saw this script in a previous answer, but I would like to stay away from bash scripts. Is there a way to locate the dynamic libraries built under _libs in CIBW, or should I simply use bash scripts to circumnavigate my current issue? Or should I simply restructure my project in a way CIBW can somehow work? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Here is a short copy of the log.
|
Beta Was this translation helpful? Give feedback.
-
To answer my question, restructuring my package worked. I followed what the maintainers of Freud did and installed the shared libraries directly into the sub-modules so CIBW can repair it. |
Beta Was this translation helpful? Give feedback.
To answer my question, restructuring my package worked. I followed what the maintainers of Freud did and installed the shared libraries directly into the sub-modules so CIBW can repair it.