Entry
How can I embed Python into C++ and ship my application to a user not having Python?
Is there a similar mechanism like freeze for embedded Python?
May 24th, 2000 06:06
unknown unknown, Gordon McMillan, Brent Fulgham
When you embed Python in a program (C or C++), you are linking the
static library that contains the entire Python runtime. You will
be missing the various "*.py" modules needed for runtime, so these
may need to be included in your distribution.
Freeze your Python. Now take some scissors and cut and paste code
from frozenmain.c into your embedding app.