-
Notifications
You must be signed in to change notification settings - Fork 151
/
setup.py
56 lines (48 loc) · 1.76 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
import re
import sys
from setuptools import setup, find_packages
if sys.version_info[0] < 3:
raise SystemExit("Error: blocksat-cli requires Python 3")
sys.exit(1)
version = re.search(r'^__version__\s*=\s*"(.*)"',
open('blocksatcli/main.py').read(), re.M).group(1)
long_description = """# Blockstream Satellite CLI
A command-line interface for configuring, running and monitoring a Blockstream
Satellite receiver setup.
"""
dependencies = [
'distro',
'packaging',
'pysnmplib',
'python-gnupg>=0.4.7',
'qrcode',
'requests',
]
# FIXME: Remove this once a pysnmp version supporting Py3.12 becomes available
if sys.version_info >= (3, 12):
dependencies.append('pyasyncore==1.0.2')
setup(
name="blocksat-cli",
packages=find_packages(),
entry_points={"console_scripts": ['blocksat-cli = blocksatcli.main:main']},
version=version,
description="Blockstream Satellite CLI",
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={"fec": ['zfec>=1.5.4']},
package_data={'blocksatcli': ['mib/*.mib', 'mib/*.txt', 'gpg/*.gpg']},
classifiers=[
'Programming Language :: Python :: 3',
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)"
],
python_requires='>=3.8')