Replies: 1 comment 1 reply
-
Hmm I actually noticed this same behavior with just |
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.
-
I am working on a multi-language project and attempting to wrap the C/C++ libraries from Python. The project layout looks something like:
So my goal is to create targets in python/adbc_driver_manager/meson.build that depend on target(s) defined in c/meson.build
In the Python configuration, I have a dependency resolution mechanism like:
I am under the impression this will allow users who have a system install of adbc-driver-manager to link against that, and fall back to the subproject if that is not feasbile
For development purposes, I am just symlinking from the python subprojects directory to the c sources:
This works well locally, but it adds wrap files to the subprojects folder that continue to point to arrow-adbc locally. For example, because arrow-adbc depends on the fmt library, a fmt.wrap file is auto-generated with the following contents:
When I create an sdist, wrap-redirect files like this are included. But since my symlinked subproject is not included with the sdist (and I don't believe that is desired anyway), the links in these wrap files cannot be resolved. That ends up producing an error message like:
When trying to build a wheel.
Is there a way to tell meson-python not to include transitive wrap files in the sdist creation, or I am perhaps going about this the wrong way?
Beta Was this translation helpful? Give feedback.
All reactions