This directory contains the slides for the SciPy'03 presentation on

  Wrapping with SWIG and Boost.Python: a comparison

It also contains two directories with the sources for the examples
demonstrated in the slides.

The "bpl" directory contains the code necessary to build and run the
Boost.Python wrapper example and the "swig" directory contains the
SWIG example.  The swig directory also has a test_example.cxx program
that is a C++ test program similar to the test_example.py script.

You will need SCons (http://www.scons.org) to build the examples.  The
SConscript was written to work under Linux.  YMMV for other platforms.
To build the boost examples the SConscript searches in this order for
the boost headers and libraries:
   [os.environ.get('BOOST_DIR', '' ),   
    '/cvs/boost', 
    '/usr/local/boost',
    '/usr/local/include/boost', 
    '/usr/include/boost',
    '/usr/lib/boost/']

So if the default path is not good enough define BOOST_DIR.

To build the SWIG examples without directors use this command

 scons .

with directors like so:

 scons directors=1 .

