Replies: 2 comments 1 reply
-
There is an option to build a Pybind11 module independent of the interpreter, see |
Beta Was this translation helpful? Give feedback.
0 replies
-
Did anyone had any luck with this? I haven't tried it yet, but I would love to replace python with pocketpy in the engine we use here in our studio. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I've built a C++ library that exposes it's API using pybind11 and I'm able to use the library functions from python under Linux. Howeverre, while building the library pybind11 needs to link against a CPython, which is not always possible in some of my build environements (as CPython is not supported by the compiler I'm using).
I came across pockectpy, which is a zero dependecy single file Python interpreter.
Can pybind11 be used with this library instead of CPython, which would allow me to have a fully standalone library with integrated Python interpretor.
I know that pocketpy does not expose all python functionalities but the supported feature are more than enough for my use case
Beta Was this translation helpful? Give feedback.
All reactions