From 0bbd36c0b569e58c3d47177e816b3541fac4b916 Mon Sep 17 00:00:00 2001 From: RĂ©mi Flamary Date: Tue, 21 Mar 2017 09:32:06 +0100 Subject: cleanupt cpp wrapper name --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 144c325..51c6861 100755 --- a/setup.py +++ b/setup.py @@ -38,8 +38,8 @@ setup(name='POT', url='https://github.com/rflamary/POT', packages=find_packages(), ext_modules = cythonize(Extension( - "ot.lp.emd", # the extension name - sources=["ot/lp/emd.pyx", "ot/lp/EMD_wrap.cpp"], # the Cython source and + "ot.lp.emd_wrap", # the extension name + sources=["ot/lp/emd_wrap.pyx", "ot/lp/EMD_wrap.cpp"], # the Cython source and # additional C++ source files language="c++", # generate and compile C++ code, include_dirs=[numpy.get_include(),os.path.join(ROOT,'ot/lp')])), -- cgit v1.2.3