building boost with python script
Hello, last time I didn't placed in my message an appropriate heading so I repeat it: I want to build boost library with python scrpt(s) (maybe SCons shuld be used). Or maybe someone has already done so - I don't want to reinvent the wheel. -- Regards Michał Nowotka
Michał Nowotka wrote:
Hello,
last time I didn't placed in my message an appropriate heading so I repeat it:
I want to build boost library with python scrpt(s) (maybe SCons shuld be used).
Or maybe someone has already done so - I don't want to reinvent the wheel.
Could you clarify your requirements? It does not seem like using Python, per se, for building Boost, is likely to help you with anything. - Volodya
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. -- Regards Michał Nowotka
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
On 2009-10-21, Micha³ Nowotka
I want to build boost library with python scrpt(s) (maybe SCons shuld be used).
Or maybe someone has already done so - I don't want to reinvent the wheel.
An scons procedure is given here: http://wiki.python.org/moin/boost.python/BuildingExtensions?highlight=%28sco... I have not tried it, however. -- Randolph Fritz design machine group, architecture department, university of washington rfritz@u.washington.edu -or- rfritz333@gmail.com
participants (3)
-
Michał Nowotka
-
Randolph Fritz
-
Vladimir Prus