[C++-sig] Boost python and import error

Ralf W. Grosse-Kunstleve rwgk at yahoo.com
Tue Mar 13 02:57:14 CET 2007


> :-). Can you post your scons script? Thank you

There are two SConscripts which need a few supporting Python scripts. It is all part of the source bundles here:

http://cci.lbl.gov/cctbx_build/all.html

There are two approaches:

1.

perl cctbx_python_25_bundle.selfx

Capture the compile and link commands from the output and throw away everything else. Configure your own build system to spit out the same commands. The only complication is under Mac OS X, where a helper script is used:

libtbx/libtbx/command_line/mac_os_x_ld_bpl_dll.csh


2.

Use

libtbx/SConscript
boost_adaptbx/SConscript

as a starting point for your own SConscipt. Copy some supporting Python code from the libtbx tree as needed.

Everything is also under CVS: http://cctbx.cvs.sourceforge.net/cctbx/

Ralf





 
____________________________________________________________________________________
Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20070312/430fed33/attachment.htm>


More information about the Cplusplus-sig mailing list