From: F van der Meeren on
Hi,

I am trying to figure out, what files to copy with my app so I am able to initialize the python runtime.
Where can I find information about this?

Thank you,

Filip
From: Thomas Jollans on
On 06/15/2010 10:20 AM, F van der Meeren wrote:
> Hi,
>
> I am trying to figure out, what files to copy with my app so I am able to initialize the python runtime.
> Where can I find information about this?

You need to link with libpython. How you do this depends on the
toolchain you're using. Which build tool/IDE are you using? GNU
auto{conf,make}? CMake? waf? Something else? Check the documentation of
the tools you're using on how to use libraries - I don't think Python
behaves any differently to other libraries. For information on how to
initialize the interpreter in a program linked with -lpython, check the
Extending/Embedding section on docs.python.org

If you run into any problems along the way, don't hesitate to ask!

Thomas