Boost logo

Boost Users :

Subject: Re: [Boost-users] building boost with python script
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-10-21 09:23:14


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net