-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
25 lines (22 loc) · 891 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from setuptools import Extension, setup
import numpy as np
setup(
ext_modules=[
Extension("dclab.downsampling",
sources=["dclab/downsampling.pyx"],
include_dirs=[np.get_include(), "_shared"]
),
Extension("dclab.external.skimage._shared.geometry",
sources=["dclab/external/skimage/_shared/geometry.pyx"],
include_dirs=[np.get_include()]
),
Extension("dclab.external.skimage._find_contours_cy",
sources=["dclab/external/skimage/_find_contours_cy.pyx"],
include_dirs=[np.get_include()]
),
Extension("dclab.external.skimage._pnpoly",
sources=["dclab/external/skimage/_pnpoly.pyx"],
include_dirs=[np.get_include(), "_shared"]
),
]
)