You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I noticed the first limitation stated in the README.rst of the project ("… dependencies that are loaded via those mechanisms will be missed"), but maybe can you point me to a correct solution…
I have a large C++ project based on Qt and boost. I was able to build it for manylinux_2_24 using scikit-build and PySide2 for the python binding. And auditwheel for installing all the libs it is linked with in the wheel of the package called aymara.
The last step I have to handle is the loading of its plugins that are not linked to the main libraries at build time but dlopened when needed. I'm able to copy the libs into the wheel but they stay in site-packages/aymara. Manually copying them to site-packages/aymara.libs make the loading at runtime work.
So, I have just to find how to correctly automatically deploy them in site-packages/aymara.libs but I am stuck there.
Any idea ?
The text was updated successfully, but these errors were encountered:
If you can specify a folder from which plugins are loaded, I'd probably go down that road as it allows the grafting process to go through plugins as well.
e.g. copying plugins to aymara/plugins while building the wheel and use that folder as a source path for loading plugins.
Obviously, this might have drawbacks for local devs or locally built wheels and the heuristic to find the right source might not be as trivial as it sounds (if it's even doable in the first place).
You can also try to copy them directly to aymara.libs instead of aymara when building the wheel but I really don't know how auditwheel behaves in this case. Probably worth a try.
Hi,
I noticed the first limitation stated in the README.rst of the project ("… dependencies that are loaded via those mechanisms will be missed"), but maybe can you point me to a correct solution…
I have a large C++ project based on Qt and boost. I was able to build it for manylinux_2_24 using scikit-build and PySide2 for the python binding. And auditwheel for installing all the libs it is linked with in the wheel of the package called aymara.
The last step I have to handle is the loading of its plugins that are not linked to the main libraries at build time but dlopened when needed. I'm able to copy the libs into the wheel but they stay in
site-packages/aymara
. Manually copying them tosite-packages/aymara.libs
make the loading at runtime work.So, I have just to find how to correctly automatically deploy them in
site-packages/aymara.libs
but I am stuck there.Any idea ?
The text was updated successfully, but these errors were encountered: