steckie initial port to pip based service

This commit is contained in:
Hauke Petersen
2022-08-26 14:49:20 +02:00
parent e2f8447f0e
commit 57b97eaf10
6 changed files with 164 additions and 139 deletions

45
setup.py Normal file
View File

@@ -0,0 +1,45 @@
# Copyright (C) 2022 Hauke Petersen <devel@haukepetersen.de>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
import setuptools
name = "steckie"
ver = "0.0.1"
desc = 'Read state from Tasmota smart plugs'
setuptools.setup(
name=name,
version=ver,
author="Hauke Petersen",
author_email="devel@haukepetersen.de",
description=desc,
url=f'https://git.deichnet.com/hauke/{name}',
license='MIT',
packages=[name],
install_requires=[
"apscheduler",
"requests",
"pydeichlib@git+ssh://git@git.deichnet.com:22223"
"/hauke/pydeichlib.git@v0.0.13#egg=pydeichlib-0.0.13",
],
entry_points={
"console_scripts": [f'{name} = {name}.__main__:main']
}
)