MichaĆ Nowotka wrote:
I want to have standalone application (without any dependencies) written in python that uses some code in C++ for efficiency reasons.
This C++ code uses boost. I also use boost.python to expose C++ code. So to work out of box my app must: - compile embedded frozen version of boost - generate python wrappers using py++ (also embedded) - compile autogenerated boost.python wrappers with C++ code - import generated library as python module - do some computation using exposed interface
it should be platform independent.
Are you about to build C++ Boost when your application is run (as the above seem to imply), or during build? If during build, then why cannot you use the standard procedure for building Boost? You can surely invoke it from Python, with just a couple of os.system calls. - Volodya