-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
68 lines (63 loc) · 2.19 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
from setuptools import find_packages, setup
def _get_var_name(var, loc):
return [key for key, val in loc.items() if id(val) == id(var)][0]
__version__ = "unknown"
ver_str = _get_var_name(var=__version__, loc=locals())
for line in open("ReTiSAR/__init__.py", mode="r", encoding="utf-8"):
if line.startswith(ver_str):
__version__ = (
line[len(ver_str) : -1].replace(" ", "").replace('"', "").strip("=")
)
break
# noinspection SpellCheckingInspection
setup(
name="ReTiSAR",
description="Real-Time Spherical Array Renderer for binaural reproduction in Python",
keywords="binauralaudio signal-processing microphone-array-processing python 3d-audio",
url="https://github.com/AppliedAcousticsChalmers/ReTiSAR",
version=__version__,
author="Hannes Helmholz",
author_email="[email protected]",
long_description=open("README.md", mode="r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Education",
"License :: Other/Proprietary License",
"Operating System :: MacOS",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Multimedia :: Sound/Audio",
],
python_requires=">=3.7",
install_requires=[
"jack-client >=0.4.4",
"matplotlib",
"numpy >=1.17",
"pyfftw",
"python-osc",
"pyserial >=3.4",
"pysofaconventions >=0.1.5",
"samplerate",
"scipy >=0.16",
"soundfile >=0.10.2",
"sound_field_analysis >=2021.2.4",
# 'psutil', # for adjusting process priority, currently not used
],
extras_require={
"benchmark": [
"jinja2", # for benchmarking
"natsort", # for benchmarking
"pandas", # for benchmarking
],
"development": [
"black >=20.8b1",
], # for code formatting
},
package_data={
"": ["res/*"],
},
packages=find_packages(),
)