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
Despite knowing this is more of a pip build systems issue rather than a pybind itself one, I think someone here might have encountered a simillar issue and can help me.
I have two separate repositories: libdaa and daa . The first one, libdaa , is a c++ code base that generates various targets. One of those targets, daa.so, is a pybind11 python module. I can build this target using CMake (or plain make), and use daa.so correctly as a python module. The next picture shows libdaa repo:
The second repo, daa, is intended to be a pip package that wraps daa.so (built on libdaa repo) and will be published on PyPi. Here, I have libdaa repo as a submodule on daa/libdaa. The picture shows this:
Said that, how can I configure daa repo for building the daa.so target that is inside the daa/libdaa repo as a python package?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
First of all, Hello friends!!! 👋
Despite knowing this is more of a pip build systems issue rather than a pybind itself one, I think someone here might have encountered a simillar issue and can help me.
I have two separate repositories:
libdaa
anddaa
. The first one,libdaa
, is a c++ code base that generates various targets. One of those targets,daa.so
, is apybind11
python module. I can build this target using CMake (or plain make), and usedaa.so
correctly as a python module. The next picture showslibdaa
repo:The second repo,
daa
, is intended to be apip package
that wrapsdaa.so
(built onlibdaa
repo) and will be published on PyPi. Here, I havelibdaa
repo as a submodule ondaa/libdaa
. The picture shows this:Said that, how can I configure
daa
repo for building thedaa.so
target that is inside thedaa/libdaa
repo as a python package?Thanks, Pablo.
Beta Was this translation helpful? Give feedback.
All reactions