From e6be191c770372fd2f86ab65b3ec88c77b950e47 Mon Sep 17 00:00:00 2001 From: atse Date: Mon, 18 Nov 2024 15:52:07 +0800 Subject: [PATCH] pytec: Move scripts into subfolder As Thermostat Python scripts should be packaged inside pytec. This allows Setuptools' Package Discovery to perform Automatic discovery and find all scripts, following the "flat-layout". --- doc/PID tuning.md | 4 ++-- pytec/{ => pytec}/autotune.py | 0 pytec/{ => pytec}/plot.py | 0 pytec/{ => pytec}/test.py | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename pytec/{ => pytec}/autotune.py (100%) rename pytec/{ => pytec}/plot.py (100%) rename pytec/{ => pytec}/test.py (100%) diff --git a/doc/PID tuning.md b/doc/PID tuning.md index 51abc74..3615e6c 100644 --- a/doc/PID tuning.md +++ b/doc/PID tuning.md @@ -13,7 +13,7 @@ When tuning Thermostat PID parameters, it is helpful to view the temperature, PI To use the Python real-time plotting utility, run ```shell -python pytec/plot.py +python pytec/pytec/plot.py ``` ![default view](./assets/default%20view.png) @@ -49,7 +49,7 @@ A PID auto tuning utility is provided in the Pytec library. The auto tuning util To run the auto tuning utility, run ```shell -python pytec/autotune.py +python pytec/pytec/autotune.py ``` After some time, the auto tuning utility will output the auto tuning results, below is a sample output diff --git a/pytec/autotune.py b/pytec/pytec/autotune.py similarity index 100% rename from pytec/autotune.py rename to pytec/pytec/autotune.py diff --git a/pytec/plot.py b/pytec/pytec/plot.py similarity index 100% rename from pytec/plot.py rename to pytec/pytec/plot.py diff --git a/pytec/test.py b/pytec/pytec/test.py similarity index 100% rename from pytec/test.py rename to pytec/pytec/test.py