39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
# coding=utf-8
|
|
import setuptools
|
|
|
|
with open('README.rst') as f:
|
|
README = f.read()
|
|
|
|
setuptools.setup(
|
|
name='TSGRain Controller',
|
|
version='0.1.5',
|
|
author='ThetaDev',
|
|
description='TSGRain irrigation controller',
|
|
long_description=README,
|
|
long_description_content_type='text/x-rst',
|
|
license='Apache 2.0 License',
|
|
url="https://code.thetadev.de/TSGRain/Controller",
|
|
classifiers=[
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.7",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
],
|
|
py_modules=['tsgrain_controller'],
|
|
install_requires=[
|
|
'tinydb~=4.6.1',
|
|
'cyra~=1.0.2',
|
|
'schedule~=1.1.0',
|
|
'smbus~=1.1.post2',
|
|
'protobuf~=3.19.3',
|
|
'grpcio~=1.43.0',
|
|
],
|
|
extras_require={'rpi': ['RPi.GPIO~=0.7.0']},
|
|
packages=setuptools.find_packages(exclude=['tests*']),
|
|
entry_points={
|
|
'console_scripts': [
|
|
'tsgrain-controller=tsgrain_controller.__main__:run',
|
|
],
|
|
},
|
|
)
|