forked from hiveeyes/terkin-datalogger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
129 lines (111 loc) · 3.84 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
# -*- 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.10.0',
# Runtime
'mock==4.0.2',
# Mocks some HAL modules not available on CPython.
'esp32-machine-emulator==1.1.3',
# Command line interface
'click==7.1.2',
# UART access.
'pyserial==3.4',
# GPSD client library.
'gps==3.19',
# Adafruit CircuitPython libraries.
'Adafruit-Blinka==4.6.0',
'adafruit-circuitpython-busdevice==4.3.1',
'adafruit-circuitpython-bme280==2.4.1',
'adafruit-circuitpython-ads1x15==2.2.1',
'adafruit-circuitpython-si7021==3.2.1',
'adafruit-circuitpython-bmp280==3.2.1',
'adafruit-circuitpython-ina219==3.4.2',
# Victron Energy VE.Direct text protocol driver.
#'git+https://github.com/karioja/vedirect@f74c0f2',
]
extras = {
'sbc': [
# I2C SMBus HAL module.
'smbus==1.1.post2',
# SPI HAL module.
'spidev==3.4',
# RPI USV+ Raspberry Pi - USV+
'rpi-piusv==0.1.0',
# Raspberry Pi utilities.
'gpiozero==1.5.1',
],
'lorawan': [
# Required for LoRaWAN.
'pycrypto==2.6.1',
],
}
setup(name='terkin',
version='0.10.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",
"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=[
],
entry_points={
'console_scripts': [
'terkin = terkin_cpython.main:cli',
],
},
)