-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
74 lines (63 loc) · 1.96 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
#!/usr/bin/env python3
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(
"cochlea3.zilany2009._pycat",
[
"cochlea3/zilany2009/_pycat.pyx",
"cochlea3/zilany2009/catmodel.c",
"cochlea3/zilany2009/complex.c"
]
),
Extension(
"cochlea3.holmberg2007._traveling_waves",
[
"cochlea3/holmberg2007/_traveling_waves.pyx",
]
),
Extension(
"cochlea3.zilany2014.c_wrapper",
[
"cochlea3/zilany2014/c_wrapper.pyx",
"cochlea3/zilany2014/model_IHC.c",
"cochlea3/zilany2014/model_Synapse.c",
"cochlea3/zilany2014/complex.c"
]
),
]
setup(
name="cochlea3",
version="1",
author="Marek Rudnicki",
author_email="[email protected]",
description="Inner ear models for Python 3",
license="GPLv3+",
url="https://github.com/mrkrd/cochlea3",
download_url="https://github.com/mrkrd/cochlea3/tarball/master",
packages=find_packages(),
package_data={
"cochlea3.asr": ["*.csv"]
},
include_dirs=[numpy.get_include()],
ext_modules=cythonize(extensions),
long_description=long_description,
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"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 :: 3",
"Programming Language :: Cython",
"Programming Language :: C",
],
platforms=["Linux", "Windows", "FreeBSD", "OSX"],
install_requires=["numpy", "scipy"],
)