Commit a7cfe280100683c031121ee0ae3f99eb459d678b

Authored by Thiago Franco de Moraes
1 parent 47fdfda6
Exists in rotvol

Cythonize in windows

Showing 1 changed file with 11 additions and 3 deletions   Show diff stats
@@ -31,10 +31,18 @@ if sys.platform == 'linux2': @@ -31,10 +31,18 @@ if sys.platform == 'linux2':
31 elif sys.platform == 'win32': 31 elif sys.platform == 'win32':
32 setup( 32 setup(
33 cmdclass = {'build_ext': build_ext}, 33 cmdclass = {'build_ext': build_ext},
34 - ext_modules = [ Extension("invesalius.data.mips", ["invesalius/data/mips.pyx"], 34 + ext_modules = cythonize([ Extension("invesalius.data.mips", ["invesalius/data/mips.pyx"],
35 include_dirs = [numpy.get_include()], 35 include_dirs = [numpy.get_include()],
36 - extra_compile_args=['/openmp'],  
37 - )] 36 + extra_compile_args=['/openmp'],),
  37 +
  38 + Extension("invesalius.data.interpolation", ["invesalius/data/interpolation.pyx"],
  39 + include_dirs=[numpy.get_include()],
  40 + extra_compile_args=['/openmp'],),
  41 +
  42 + Extension("invesalius.data.transforms", ["invesalius/data/transforms.pyx"],
  43 + include_dirs=[numpy.get_include()],
  44 + extra_compile_args=['/openmp'],),
  45 + ])
38 ) 46 )
39 47
40 else: 48 else: