From dc9e428224d95adf63da6460a2031348de295ca1 Mon Sep 17 00:00:00 2001 From: Victor Chahuneau Date: Sun, 1 Jul 2012 00:38:30 -0400 Subject: [python] MT evaluation --- python/setup.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'python/setup.py') diff --git a/python/setup.py b/python/setup.py index 49a1ec8f..cc8b289d 100644 --- a/python/setup.py +++ b/python/setup.py @@ -3,8 +3,8 @@ from distutils.extension import Extension from Cython.Distutils import build_ext import os -INC = ['..', 'src/', '../decoder', '../utils'] -LIB = ['../decoder', '../utils', '../mteval', '../klm/lm', '../klm/util'] +INC = ['..', 'src/', '../decoder', '../utils', '../mteval'] +LIB = ['../decoder', '../utils', '../mteval', '../training', '../klm/lm', '../klm/util'] BOOST_ROOT = os.getenv('BOOST_ROOT') if BOOST_ROOT: @@ -18,7 +18,8 @@ ext_modules = [ include_dirs=INC, library_dirs=LIB, libraries=['boost_program_options-mt', 'z', - 'cdec', 'utils', 'mteval', 'klm', 'klm_util']) + 'cdec', 'utils', 'mteval', 'training', 'klm', 'klm_util'], + extra_compile_args=['-DHAVE_CONFIG_H']), ] setup( -- cgit v1.2.3