build the python interface
authorDiane Trout <diane@caltech.edu>
Wed, 12 Apr 2006 00:45:55 +0000 (00:45 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 12 Apr 2006 00:45:55 +0000 (00:45 +0000)
commitc8b64e1fb76f78e39dc4db94a8bb7a1d262ec56d
tree446f13bdfd171e3da0e38e23a4c648651a250f72
parent12cfa23f693c9bca8abff5290f3cd16b8171754d
build the python interface
CMake can build the python version (and on os x/unix test it)
CMakes targets aren't quite appropriate for python extensions the
ADD_LIBRARY target gets the right build settings but names the file
libX.so while python needs X.so. I got around this by adding a custom
command which makes a symlink to the right name--of course that depends
on shell commands not available on windows. :(

Also there's some problems with boost.python not knowing about the
string to boost/filesystem converter. I manually wrapped load_mupa_file
but it might be more advantagious to write a general wrapper.

I also only have the simplest test case included, to test to make sure
that the environment can actually run python test cases.
CMakeLists.txt
alg/mussa.hpp
alg/nway_paths.hpp
py/CMakeLists.txt [new file with mode: 0644]
py/mussa.cpp
py/nway_paths.cpp
py/sequence.cpp
py/test/TestSequence.py [new file with mode: 0644]
qui/MussaAlignedWindow.cpp