From: Diane Trout Date: Wed, 10 May 2006 08:43:58 +0000 (+0000) Subject: lets try letting python build mussa X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=24368a032dc1bfc6de7fe672ec094d3881113bfd lets try letting python build mussa I wonder how distutils will fare building mussa? As I made more progress getting to interact with the C++ libraries from python than the reverse I want to see if I can everything to build with just distutils. --- diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..17d6304 --- /dev/null +++ b/setup.py @@ -0,0 +1,37 @@ +from setuptools import setup, Extension + +import os +mussa_ext = Extension("mussa", ["py/conserved_path.cpp", + "py/glsequence.cpp", + "py/module.cpp", + "py/mussa.cpp", + #"py/MussaWindow.cpp", + "py/nway_paths.cpp", + "py/sequence.cpp", + "alg/annotation_colors.cpp", + "alg/color.cpp", + "alg/conserved_path.cpp", + "alg/flp.cpp", + "alg/flp_seqcomp.cpp", + "alg/glseqbrowser.cpp", + "alg/glsequence.cpp", + "alg/mussa.cpp", + "alg/nway_entropy.cpp", + "alg/nway_other.cpp", + "alg/nway_paths.cpp", + #"alg/nway_refine", + #"alg/parse_options.cpp", + "alg/sequence.cpp"], + include_dirs=['/usr/include/boost', + '.' + #os.getcwd() + ], + libraries=['boost_python', + 'boost_filesystem', + 'GL', + ]) + +setup(name='mussa', + version='0.0', + ext_modules=[mussa_ext]) +