summaryrefslogtreecommitdiff
path: root/python/setup.py.in
diff options
context:
space:
mode:
authorChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2012-11-18 14:26:10 -0500
committerChris Dyer <cdyer@allegro.clab.cs.cmu.edu>2012-11-18 14:26:10 -0500
commitc634ab440869d77769ce6d5e0f7da7bc8c36650e (patch)
tree50c9cb45fa148818ca27b1616168aa9e70aa7183 /python/setup.py.in
parent6f36c1e0c7cab60a38c5905bc279dfdf9ef2c1fa (diff)
fix python pointers into training lib
Diffstat (limited to 'python/setup.py.in')
-rw-r--r--python/setup.py.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/setup.py.in b/python/setup.py.in
index f191ef8b..dac72903 100644
--- a/python/setup.py.in
+++ b/python/setup.py.in
@@ -3,7 +3,7 @@ from distutils.extension import Extension
import re
INC = ['..', 'src/', '../decoder', '../utils', '../mteval']
-LIB = ['../decoder', '../utils', '../mteval', '../training', '../klm/lm', '../klm/util', '../klm/search']
+LIB = ['../decoder', '../utils', '../mteval', '../training/utils', '../klm/lm', '../klm/util', '../klm/search']
# Set automatically by configure
LIBS = re.findall('-l([^\s]+)', '@LIBS@')
@@ -17,7 +17,7 @@ ext_modules = [
sources=['src/_cdec.cpp'],
include_dirs=INC,
library_dirs=LIB,
- libraries=LIBS + ['z', 'cdec', 'utils', 'mteval', 'training', 'klm', 'klm_util', 'ksearch'],
+ libraries=LIBS + ['z', 'cdec', 'utils', 'mteval', 'training_utils', 'klm', 'klm_util', 'ksearch'],
extra_compile_args=CPPFLAGS,
extra_link_args=LDFLAGS),
Extension(name='cdec.sa._sa',