mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-07 11:28:14 +08:00
unwrap: compiles, test passes
This commit is contained in:
committed by
Jostein Bø Fløystad
parent
a2161afe21
commit
9c58dd5d0b
@@ -0,0 +1,26 @@
|
||||
from distutils.core import setup
|
||||
from distutils.extension import Extension
|
||||
from Cython.Distutils import build_ext
|
||||
#from Cython.Build import cythonize
|
||||
import numpy as np
|
||||
|
||||
ext_modules = [
|
||||
Extension('unwrap2D',
|
||||
['unwrap2D.pyx',
|
||||
#'Miguel_2D_unwrapper_with_mask_and_wrap_around_option.cpp',
|
||||
'Miguel_2D_unwrapper_with_mask_and_wrap_around_option.c',
|
||||
],
|
||||
include_dirs = [np.get_include(),],
|
||||
),
|
||||
]
|
||||
|
||||
import numpy as np
|
||||
|
||||
setup(
|
||||
name = 'unwrp2D',
|
||||
#ext_modules = cythonize(['cytransient.pyx',],
|
||||
# include_path = [np.get_include(),],
|
||||
# ),
|
||||
cmdclass = {'build_ext': build_ext},
|
||||
ext_modules = ext_modules,
|
||||
)
|
||||
Reference in New Issue
Block a user