summaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
authorVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-27 22:25:15 -0400
committerVictor Chahuneau <vchahune@cs.cmu.edu>2012-07-27 22:25:15 -0400
commit1d481414a2fa8505a2591c88e2b7b8f86a682ca2 (patch)
treeed5e9dff569d89da453578ce3d109991623d9303 /python/setup.py
parentb317e0efd2398d75d70e027bb1e2cf442e683981 (diff)
[python] conversion from cdec.sa.Rule to cdec.TRule
+ remove configobj dependency + re-structure packages (no more top-level library) + "const" stuff + use __new__ instead of constructor for some objects
Diffstat (limited to 'python/setup.py')
-rw-r--r--python/setup.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/setup.py b/python/setup.py
index 9ae4a35c..1d1d7e45 100644
--- a/python/setup.py
+++ b/python/setup.py
@@ -32,7 +32,7 @@ else:
BOOST_PROGRAM_OPTIONS = 'boost_program_options'
ext_modules = [
- Extension(name='_cdec',
+ Extension(name='cdec._cdec',
sources=['src/_cdec.cpp'],
include_dirs=INC,
library_dirs=LIB,
@@ -40,8 +40,8 @@ ext_modules = [
'cdec', 'utils', 'mteval', 'training', 'klm', 'klm_util'],
extra_compile_args=['-DHAVE_CONFIG_H'],
extra_link_args=LINK_ARGS),
- Extension(name='_cdec_sa',
- sources=['src/sa/_cdec_sa.c', 'src/sa/strmap.cc'])
+ Extension(name='cdec.sa._sa',
+ sources=['src/sa/_sa.c', 'src/sa/strmap.cc'])
]
setup(