-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
141 lines (123 loc) · 4.33 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst'), encoding="utf-8").read()
requires = [
# 3rd-party libraries
'terkin-micropython-libraries==0.14.0',
# Mocks some HAL modules not available on CPython.
'esp32-machine-emulator<2',
# Sensors
'psutil<6',
# Telemetry
'requests<3',
# Command line interface
'click<8',
# UART access.
'pyserial==3.5',
# GPSD client library.
'gps<4',
# Adafruit CircuitPython libraries.
'Adafruit-Blinka>=5.4.0,<6',
'adafruit-circuitpython-busdevice<5',
'adafruit-circuitpython-bme280<2.6',
'adafruit-circuitpython-ads1x15<2.3',
'adafruit-circuitpython-si7021<3.3',
'adafruit-circuitpython-bmp280<3.3',
'adafruit-circuitpython-ina219<3.5',
]
extras = {
'sbc': [
# I2C SMBus HAL module.
'smbus==1.1.post2',
# SPI HAL module.
'spidev<4',
# RPI USV+ Raspberry Pi - USV+
'rpi-piusv==0.1.0',
# Raspberry Pi utilities.
'gpiozero<2',
],
'lorawan': [
# Required for LoRaWAN.
"pycrypto<3; python_version<='3.10'",
"pycryptodome<4; python_version>='3.11'",
],
# Victron Energy VE.Direct text protocol driver.
# Unless the version at https://github.com/nznobody/vedirect has been published on PyPI,
# it can't be part of the vanilla `install_requires` section.
'vedirect': [
'vedirect==2.0.0',
],
}
setup(name='terkin',
version='0.14.0',
description='A flexible data logger for MicroPython and CPython',
long_description=README,
license="AGPL 3, EUPL 1.2",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: MicroPython",
"License :: OSI Approved :: GNU Affero General Public License v3",
"License :: OSI Approved :: European Union Public Licence 1.2 (EUPL 1.2)",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"Topic :: Communications",
"Topic :: Internet",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: GIS",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator",
"Topic :: Software Development :: Embedded Systems",
"Topic :: Software Development :: Libraries",
"Topic :: System :: Archiving",
"Topic :: System :: Networking :: Monitoring",
"Topic :: Utilities",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS"
],
author='Andreas Motl',
author_email='[email protected]',
url='https://github.com/hiveeyes/terkin-datalogger',
keywords='sensor networks data acquisition transformation daq routing '
'telemetry m2m iot mqtt http',
package_dir={
'': 'src/lib',
},
packages=find_packages('src/lib'),
py_modules=[
'umal',
'mininet',
],
include_package_data=True,
package_data={
},
zip_safe=False,
test_suite='test',
install_requires=requires,
extras_require=extras,
#tests_require=extras['test'],
dependency_links=[
"https://github.com/nznobody/vedirect/tarball/345a688#egg=vedirect-2.0.0"
],
entry_points={
'console_scripts': [
'terkin = terkin_cpython.main:cli',
],
},
)