-
Notifications
You must be signed in to change notification settings - Fork 155
/
Copy pathsetup_gui.py
60 lines (51 loc) · 1.88 KB
/
setup_gui.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
import sys
from setuptools import find_packages, setup
from blocksatgui import __version__
if sys.version_info[0] < 3:
raise SystemExit("Error: blocksat requires Python 3")
sys.exit(1)
long_description = """# Blockstream Satellite GUI
A graphical user interface for configuring, running and monitoring a
Blockstream Satellite receiver setup.
"""
dependencies = [
'blocksat-cli==' + __version__, # matching version
'typing_extensions>=4.12.2',
]
if sys.version_info >= (3, 13):
# Version 6.7.3 is not available for Python 3.13
dependencies.append('pyside6>=6.8.1')
else:
dependencies.append('pyside6==6.7.3')
setup(name="blocksat-gui",
packages=find_packages(exclude=('blocksatcli', 'blocksatcli.*')),
entry_points={
"console_scripts": [
'blocksat-gui = blocksatgui.main:main',
'blocksatd = blocksatgui.blocksatd:main'
]
},
version=__version__,
description="Blockstream Satellite GUI",
long_description=long_description,
long_description_content_type='text/markdown',
author="Blockstream Corp",
author_email="[email protected]",
url="https://github.com/Blockstream/satellite",
install_requires=dependencies,
extras_require={"daemon": ['dbus-python']},
package_data={
'blocksatgui': [
'static/*.svg', 'static/*.qss', 'config/*.service',
'config/*.policy', 'config/*.conf'
]
},
data_files=[('share/applications',
['blocksatgui/config/blocksatgui.desktop']),
('share/icons', ['blocksatgui/static/blocksaticon.svg'])],
classifiers=[
'Programming Language :: Python :: 3',
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
],
python_requires='>=3')