-
Notifications
You must be signed in to change notification settings - Fork 59
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
C extension module with no pure python files fails #22
Comments
Yes, sorry about that - your problem, I believe is this : #15 Could you see your way through to reorganizing to have a
where |
I would also appreciate if the libraries could be copied into
|
* need to work around: matthew-brett/delocate#22
* need to work around: matthew-brett/delocate#22
* need to work around: matthew-brett/delocate#22
* need to work around: matthew-brett/delocate#22
* need to work around: matthew-brett/delocate#22
* Create python wrapper so that mac wheels will work * needed to work around: matthew-brett/delocate#22
MRG: Allow for delocating top level modules. This delocates libraries into one directory per wheel. I've added a top-level package-less wheel to test with. Prevents copying duplicate libraries when a wheel has multiple packages. Fixes #35. Fixes issues where the module to work on is at the top-level, such as a wheel with no packages. Generally any current issue where delocate mysteriously doesn't bundle libraries has been fixed. Fixes #72, fixes #22, fixes #45, fixes #63, fixes #121, fixes #66, fixes #49, fixes #67. See `_decide_dylib_bundle_directory` for how the folder to use is determined. I've followed the advice from #72 to use an auditwheel-style name. Wheels without packages use the folder `{package_name}.dylibs`, wheels with packages will put a `.dylibs` folder in only one of the packages preferring the one that matches the wheel name. The one directory will hold the dependencies of the entire wheel. After that the fix was simple: In `delocate_wheel` call `delocate_path` only once and call it with a `tree_path` that includes the entire wheel. Since this always collects everything regardless of if a package is found or not. This will also resolve issues where namespace packages couldn't be delocated. Fixes #95.
gmpy is a single C extension module with no pure python files. I'm using multibuild and it fails to copy the dependent libraries (libgmp, libmpfr, libmpc) to the wheel although delocate-listdeps correctly finds out that the dependent libraries need to be copied. (Also,
audit-wheel
on linux works perfectly.)https://travis-ci.org/isuruf/gmpy2-wheels/jobs/250226653
The text was updated successfully, but these errors were encountered: