-
Notifications
You must be signed in to change notification settings - Fork 39
/
setup.py
52 lines (44 loc) · 1.16 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
43
44
45
46
47
48
49
50
51
52
#!/usr/bin/env python
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import numpy
extensions = [
Extension(
"cochlea.zilany2009._pycat",
[
"cochlea/zilany2009/_pycat.pyx",
"cochlea/zilany2009/catmodel.c",
"cochlea/zilany2009/complex.c"
]
),
Extension(
"cochlea.holmberg2007._traveling_waves",
[
"cochlea/holmberg2007/_traveling_waves.pyx",
]
),
Extension(
"cochlea.zilany2014._zilany2014",
[
"cochlea/zilany2014/_zilany2014.pyx",
"cochlea/zilany2014/model_IHC.c",
"cochlea/zilany2014/model_Synapse.c",
"cochlea/zilany2014/complex.c"
]
),
]
setup(
name = "cochlea",
version = "0.10",
packages = find_packages(),
scripts = ["scripts/run_zilany2014"],
package_data = {
"cochlea": ["*.csv"]
},
author = "Marek Rudnicki",
author_email = "marek.rudnicki@tum.de",
description = "Inner ear models",
license = "GPL",
include_dirs = [numpy.get_include()],
ext_modules = cythonize(extensions),
)