-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
77 lines (62 loc) · 2.53 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""A systray app to set the JACK configuration from QjackCtl presets via DBus.
This application displays an icon in the system tray (also known as
notification area) of your desktop, which shows the status of the JACK_ audio
server and when you click on it, a menu pops up, which lets you quickly select
from the JACK configuration presets you created with QjackCtl_. When you
select a preset, its JACK engine and driver configuration settings are loaded
via DBus into JACK and then the server is restarted. This allows you to switch
between different audio setups with just two mouse clicks.
**jack-select** works with the DBus-version of JACK only. It is written in
Python 3 using the ``PyGObject`` bindings for GTK 3. Python 2 is not supported.
It is available from the source code repository on GitHub:
https://github.com/SpotlightKid/jack-select
Releases can be downloaded from the Python Package Index:
https://pypi.org/project/jack-select
**jack-select** is also available as an Arch Linux package from the Arch User
Repository:
https://aur.archlinux.org/packages/jack-select/
.. _jack: http://jackaudio.org/
.. _qjackctl: http://qjackctl.sourceforge.net/
"""
import setuptools
exec(open('jackselect/version.py').read())
setuptools.setup(
name="jack-select",
version=__version__, # noqa
url="https://github.com/SpotlightKid/jack-select",
author="Christopher Arndt",
author_email="[email protected]",
description=__doc__.splitlines()[0],
long_description="\n".join(__doc__.splitlines()[2:]),
keywords="JACK,systray,GTK,DBus,audio",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=[
'PyGObject',
'dbus-python',
'pyudev',
'pyxdg'
],
entry_points = {
'console_scripts': [
'jack-select = jackselect.jackselect:main',
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Environment :: X11 Applications :: GTK',
'Topic :: Multimedia :: Sound/Audio'
],
)