(c) Copyright Rosetta Commons Member Institutions.
(c) This file is part of the Rosetta software suite and is made available under license.
(c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
(c) For more information, see http://www.rosettacommons.org. Questions about this can be
(c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.

This is a /very/ simple example of how to use swig.

to use:

edit PY_INCLUDE in the Makfile to point to your the location of your
python headers.  It should be a directory with about 80 header files like ceval.h and traceback.h among them.  In my setup (Hardy Heron, Ubnuntu) it is /usr/local/include/python2.5.




then:

$make example.py
$python
>>>from example import *
>>>fact(10)
3628800
>>>

