forked from mrkrd/cochlea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
79 lines (64 loc) · 2.05 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env python
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import numpy
with open('README.rst') as file:
long_description = file.read()
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 = "1.4",
author = "Marek Rudnicki",
author_email = "marek.rudnicki@tum.de",
description = "Inner ear models in Python",
license = "GPLv3+",
url = "https://github.com/mrkrd/cochlea",
download_url = "https://github.com/mrkrd/cochlea/tarball/master",
packages = find_packages(),
scripts = ["scripts/run_zilany2014"],
package_data = {
"cochlea.asr": ["*.csv"]
},
include_dirs = [numpy.get_include()],
ext_modules = cythonize(extensions),
long_description = long_description,
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Cython",
"Programming Language :: C",
],
platforms = ["Linux", "Windows", "FreeBSD", "OSX"],
install_requires=["numpy", "pandas", "scipy"],
)