PyThermostat: Add entry points for runnables

Forms a more convienient interface.
This commit is contained in:
atse 2024-11-18 11:47:33 +08:00
parent 0ff0dbc3ec
commit ee094241bb

View File

@ -9,4 +9,14 @@ setup(
license="GPLv3",
install_requires=["setuptools"],
packages=find_packages(),
entry_points={
"gui_scripts": [
"thermostat_plot = plot:main",
],
"console_scripts": [
"thermostat_autotune = autotune:main",
"thermostat_test = test:main",
]
},
py_modules=["autotune", "plot", "test"],
)