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
I'm developing an application that can be used either as a python interpreter using embedding or be installed as a python library. Currently my solution is to use compile flags to switch the embed include and whether i use PYBIND11_EMBEDDED_MODULE or PYBIND11_MODULE. But this is cumbersome for deployment ...
For this reason I'm trying to have generic code that works in both cases. Hence my question can both exist at the same time in a c++ code ?
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
-
Hi,
I'm developing an application that can be used either as a python interpreter using embedding or be installed as a python library. Currently my solution is to use compile flags to switch the embed include and whether i use PYBIND11_EMBEDDED_MODULE or PYBIND11_MODULE. But this is cumbersome for deployment ...
For this reason I'm trying to have generic code that works in both cases. Hence my question can both exist at the same time in a c++ code ?
Beta Was this translation helpful? Give feedback.
All reactions