-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
17 lines (16 loc) · 919 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(ext_modules=[Extension("fastremap",
["fastremap.pyx"],
extra_compile_args=['-fopenmp'],
extra_link_args=['-fopenmp'],
language="c",),
Extension("clahe",
["clahe.pyx"],
include_dirs=['/n/lichtmanfs1/thouis_jones/opencv-install/include'],
libraries=['opencv_core', 'opencv_imgproc'],
library_dirs=['/n/lichtmanfs1/thouis_jones/opencv-install/lib'],
extra_link_args=['-Wl,-rpath,/n/lichtmanfs1/thouis_jones/opencv-install/lib'],
language="c++",)],
cmdclass = {'build_ext': build_ext})