-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·87 lines (78 loc) · 2.73 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# setup.py - Setup file for the jack-audio-tools package
#
from os.path import dirname, join
from setuptools import setup
def read(*args):
return open(join(dirname(__file__), *args)).read()
scripts = []
for name, mod, *extras in [
('carxp2lv2presets', "carla.carxp2lv2presets", "rdflib"),
('jack-timebase-master', "transport.timebase_master"),
('jack-transporter', "transport.transporter"),
('jack-midi-to-transport', "transport.midi_to_transport"),
('jack-rtmidi-to-transport', "transport.rtmidi_to_transport", "rtmidi"),
('jack-dbus-monitor', "jackdbus.jackmonitor", "dbus"),
#('lv2-grep', "lv2.lv2_grep", "lilv"),
('lv2-grep', "lv2.grep"),
#('lv2-list-plugin-presets', "lv2.lv2_list_plugin_presets", "lilv")]:
('lv2-list-plugin-presets', "lv2.list_plugin_presets"),
#('lv2-plugin-info', "lv2.lv2_plugin_info", "lilv"),
('lv2-plugin-info', "lv2.plugin_info"),
#('lv2-plugin-uris', "lv2.lv2_plugin_uris", "lilv"),
('lv2-plugin-uris', "lv2.plugin_uris"),
]:
spec = "{} = jackaudiotools.{}:main".format(name, mod)
if extras:
spec += " [{}]".format(",".join(extras))
scripts.append(spec)
classifiers = """\
Development Status :: 4 - Beta
Environment :: Console
Operating System :: POSIX
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Topic :: Multimedia :: Sound/Audio
"""
setup(
name='jack-audio-tools',
version="0.4.1",
description="A collection of utilities and tools for the JACK audio ecosystem",
long_description=read('README.md'),
long_description_content_type="text/markdown",
url="https://github.com/SpotlightKid/jack-audio-tools",
license='MIT License',
author="Christopher Arndt",
author_email="[email protected]",
keywords="jack,jackaudio,LV2,carla,MIDI",
classifiers=[c.strip() for c in classifiers.splitlines() if not c.startswith('#')],
packages=[
'jackaudiotools.carla',
'jackaudiotools.lv2',
'jackaudiotools.jackdbus',
'jackaudiotools.transport',
],
package_dir={'jackaudiotools': ''},
include_package_data=True,
install_requires=[
"JACK-Client >= 0.5.0",
],
extras_require={
# unfortunately, 'lilv' is not registered on PyPI
#'lilv': ["lilv"],
'rtmidi': ['python-rtmidi'],
'rdflib': ['rdflib'],
'dbus': ['PyGObject', "dbus-python"],
},
python_requires='>=3',
entry_points={
'console_scripts': scripts
},
zip_safe=False,
)