[C++-sig] How to install extensions using bjam(?)

Nat Goodspeed nat at lindenlab.com
Thu Oct 22 21:48:09 CEST 2009

Amos Anderson wrote:

> I'm working on a project which is mixed C++/Python, and we use Boost
> functionality in our C++, and we've set up bjam to compile our project
> (on OSX). Everything seems to be working quite well.
> 2) It looks like python's distutils is supposed to be able to help,
> but it seems like a waste of time to figure out how to get distutils
> to compile my code when I already have bjam pretty much figured out.
> First, I assume that distutils can put my libraries on an automatic
> DYLD_LIBRARY_PATH path that python knows about, because if it can't
> then there's no point. But assuming that's not a problem, I can't
> figure out how to tell distutils about Extensions that it shouldn't
> try to build...

In a previous project I've had success with py2app:

We had a number of extensions we built ourselves (not with distutils or 
py2app itself) and it happily packaged them into a working app bundle.

More information about the Cplusplus-sig mailing list