I want to use python code in C++ in an environment where we only have support for C++. It turns out that using python embedding, we can call python functions using C/C++. If I want to interpret python in C++, using python.h and libpython:
- Do I need to have python installed in the system to interpret the code at runtime?
- Can I use libpython as a static library, so it does not depend on any .so file?
I am looking for a minimal package of embedding that can run without a dynamic library and python environment.