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 09300b5d44
commit 36d80ebdff
1 changed files with 9 additions and 0 deletions

View File

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