summaryrefslogtreecommitdiff
path: root/python/setup.py
diff options
context:
space:
mode:
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(