-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
92 lines (79 loc) · 2.29 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
80
81
82
83
84
85
86
87
88
89
90
91
92
#!/usr/bin/env python
import pathlib
import setuptools
package_name = "tloen"
def read_version():
root_path = pathlib.Path(__file__).parent
version_path = root_path / package_name / "_version.py"
with version_path.open() as file_pointer:
file_contents = file_pointer.read()
local_dict = {}
exec(file_contents, None, local_dict)
return local_dict["__version__"]
version = read_version()
install_requires = [
"aiohttp",
"Cython >= 0.29.0",
"prompt-toolkit >= 3.0.0",
"pymonome >= 0.9.0",
"python-rtmidi",
"sly",
"supriya",
"urwid >= 2.1.0",
]
extras_require = {
"test": [
"black == 19.10b0", # Trailing comma behavior in 20.x needs work
"flake8 >= 3.9.0",
"isort >= 5.8.0",
"mypy >= 0.800",
"pytest >= 6.2.0",
"pytest-asyncio >= 0.14.0",
"pytest-cov >= 2.11.0",
"pytest-helpers-namespace >= 2019.1.8",
"pytest-mock >= 3.5.0",
"pytest-rerunfailures >= 9.1.0",
"pytest-timeout >= 1.4.0",
],
}
with open("README.md", "r") as file_pointer:
long_description = file_pointer.read()
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Artistic Software",
"Topic :: Multimedia :: Sound/Audio :: Sound Synthesis",
]
keywords = [
"audio",
"dsp",
"music composition",
"scsynth",
"supercollider",
"synthesis",
]
if __name__ == "__main__":
setuptools.setup(
author="Joséphine Wolf Oberholtzer",
author_email="josephine.wolf.oberholtzer@gmail.com",
classifiers=classifiers,
description="Supriya's DAW",
extras_require=extras_require,
include_package_data=True,
install_requires=install_requires,
keywords=keywords,
license="MIT",
long_description=long_description,
name=package_name,
packages=[package_name],
url=f"https://github.com/supriya-project/{package_name}",
version=version,
zip_safe=False,
)