Init flake and make project buildable

This commit is contained in:
2024-11-21 09:55:17 +01:00
parent 2b94bc6b3e
commit fa6704f5cd
12 changed files with 402 additions and 16 deletions

24
pyproject.toml Normal file
View File

@@ -0,0 +1,24 @@
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[project]
name = "hcpy"
version = "0.1.5"
description = "HC to MQTT bridge"
requires-python = ">=3.7"
dependencies = [
"bs4",
"requests",
"pycryptodome",
"websocket-client",
"sslpsk",
"paho-mqtt==1.6.1",
"lxml",
"click",
"click-config-file"
]
[project.scripts]
hc-login = "hcpy:hc_login"
hc2mqtt = "hcpy.hc2mqtt:hc2mqtt"