-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
67 lines (58 loc) · 2.07 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
#!/usr/bin/env python3
"""
Setup script for Ivaldi.
"""
# Standard library imports
from pathlib import Path
# Third party imports
import setuptools
PROJECT_NAME = "ivaldi"
with open(Path(__file__).resolve().parent / "README.md",
"r", encoding="utf-8") as readme_file:
LONG_DESCRIPTION = readme_file.read()
VERSION = {}
with open(Path(__file__).resolve().parent
/ "src" / PROJECT_NAME / "_version.py",
"r", encoding="utf-8") as version_file:
exec(version_file.read(), VERSION) # pylint: disable=W0122
setuptools.setup(
name=PROJECT_NAME,
version=VERSION["__version__"],
author="C.A.M. Gerlach",
author_email="[email protected]",
description=("A lightweight client for IoT data logging and uplink."),
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
keywords="iot sensor remote control research m2m raspberry pi adafruit",
url="https://github.com/hamma-dev/ivaldi",
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
python_requires=">=3.6",
install_requires=[
"adafruit-circuitpython-ads1x15",
"adafruit-circuitpython-bmp280",
"adafruit-circuitpython-sht31d",
"gpiozero",
"pyserial",
"RPi.GPIO",
],
entry_points={
"console_scripts": [
f"{PROJECT_NAME}={PROJECT_NAME}.__main__:main"]
},
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Environment :: No Input/Output (Daemon)",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Scientific/Engineering :: Atmospheric Science",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: System :: Monitoring",
"Topic :: System :: Networking :: Monitoring :: Hardware Watchdog",
],
)