diff options
author | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-06-13 14:42:07 +0200 |
---|---|---|
committer | Patrick Simianer <simianer@cl.uni-heidelberg.de> | 2012-06-13 14:42:07 +0200 |
commit | e6d3c25191873ca0cf99db8e89702ed91d65277c (patch) | |
tree | b0697ece6f5e4a8229915758c68750793a23f776 /python/setup.py | |
parent | 62c805c90c5347b844f92574e240db5c65578e12 (diff) | |
parent | 3acdf1e4b37637d6df86a7b54fb0f1b0464c172b (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'python/setup.py')
-rw-r--r-- | python/setup.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/python/setup.py b/python/setup.py new file mode 100644 index 00000000..756de088 --- /dev/null +++ b/python/setup.py @@ -0,0 +1,20 @@ +from distutils.core import setup +from distutils.extension import Extension +from Cython.Distutils import build_ext + +ext_modules = [ + Extension(name='_cdec', + sources=['src/_cdec.pyx'], + language='C++', + include_dirs=['..', 'src/', '../decoder', '../utils'], + library_dirs=['../decoder', '../utils', '../mteval', '../klm/lm', '../klm/util'], + libraries=['boost_program_options-mt', 'z', + 'cdec', 'utils', 'mteval', 'klm', 'klm_util']) +] + +setup( + name='cdec', + cmdclass={'build_ext': build_ext}, + ext_modules=ext_modules, + packages=['cdec', 'cdec.scfg'] +) |