forked from funkelab/funlib.evaluate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (41 loc) · 1.27 KB
/
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import cythonize
import numpy as np
setup(
name='funlib.evaluate',
version='0.1',
description='Popular metrics and reporting tools for volume comparison.',
url='https://github.com/funkelab/funlib.evaluate',
author='Jan Funke',
author_email='[email protected]',
license='MIT',
packages=[
'funlib.evaluate',
'funlib.evaluate.impl'
],
ext_modules=cythonize([
Extension(
'funlib.evaluate.rand_voi',
sources=[
'funlib/evaluate/rand_voi.pyx'
],
extra_compile_args=['-O3', '-std=c++11'],
include_dirs=[np.get_include()],
language='c++'),
Extension(
'funlib.evaluate.centers',
sources=[
'funlib/evaluate/centers.pyx'
],
extra_compile_args=['-O3', '-std=c++11'],
include_dirs=[np.get_include()],
language='c++')
]),
install_requires=[
"cython",
"numpy",
"scipy",
"networkx"
]
)