Commit 8a4464046103ca38fc518c5839bfa8e845356348
1 parent
7008a414
Exists in
smoothing_bin
Added smooth_cy (only the algorithm) to InVesalius
Showing
1 changed file
with
6 additions
and
3 deletions
Show diff stats
setup.py
| @@ -11,17 +11,20 @@ import numpy | @@ -11,17 +11,20 @@ import numpy | ||
| 11 | if sys.platform == 'linux2': | 11 | if sys.platform == 'linux2': |
| 12 | setup( | 12 | setup( |
| 13 | cmdclass = {'build_ext': build_ext}, | 13 | cmdclass = {'build_ext': build_ext}, |
| 14 | - ext_modules = cythonize([ Extension("invesalius.data.mips", ["invesalius/data/mips.pyx"], | 14 | + ext_modules = cythonize([ Extension("invesalius.data.mips", |
| 15 | + ["invesalius/data/mips.pyx"], | ||
| 15 | include_dirs = [numpy.get_include()], | 16 | include_dirs = [numpy.get_include()], |
| 16 | extra_compile_args=['-fopenmp'], | 17 | extra_compile_args=['-fopenmp'], |
| 17 | extra_link_args=['-fopenmp']), | 18 | extra_link_args=['-fopenmp']), |
| 18 | 19 | ||
| 19 | - Extension("invesalius.data.interpolation", ["invesalius/data/interpolation.pyx"], | 20 | + Extension("invesalius.data.interpolation", |
| 21 | + ["invesalius/data/interpolation.pyx"], | ||
| 20 | include_dirs=[numpy.get_include()], | 22 | include_dirs=[numpy.get_include()], |
| 21 | extra_compile_args=['-fopenmp',], | 23 | extra_compile_args=['-fopenmp',], |
| 22 | extra_link_args=['-fopenmp',]), | 24 | extra_link_args=['-fopenmp',]), |
| 23 | 25 | ||
| 24 | - Extension("invesalius.data.transforms", ["invesalius/data/transforms.pyx"], | 26 | + Extension("invesalius.data.transforms", |
| 27 | + ["invesalius/data/transforms.pyx"], | ||
| 25 | include_dirs=[numpy.get_include()], | 28 | include_dirs=[numpy.get_include()], |
| 26 | extra_compile_args=['-fopenmp',], | 29 | extra_compile_args=['-fopenmp',], |
| 27 | extra_link_args=['-fopenmp',]), | 30 | extra_link_args=['-fopenmp',]), |