refactor: cleaner python project

This commit is contained in:
2026-11-02 00:41:59 +01:00
parent b8c030d711
commit 009dd8dcb3
21 changed files with 588 additions and 301 deletions
+2 -2
View File
@@ -53,7 +53,7 @@ setup-services:
.PHONY: setup-bashrc
setup-bashrc:
$(PROJECT_DIR)/line_in_file.sh "make -C $(PROJECT_DIR) --no-print-directory start" "$(HOME)/.bashrc"
$(PROJECT_DIR)/scripts/line_in_file.sh "make -C $(PROJECT_DIR) --no-print-directory start" "$(HOME)/.bashrc"
.PHONY: install
install: remove-passwd apt-install pip-install setup-weston remove-motd disable-cloud-init setup-services setup-bashrc
@@ -71,7 +71,7 @@ run: $(BUILD_DIR)/$(TARGET)
.PHONY: start-bg
start-bg:
@python3 $(PROJECT_DIR)/i2c.py >> $(PROJECT_DIR)/python.log&
@python3 $(PROJECT_DIR)/__main__.py &> $(PROJECT_DIR)/python.log &
.PHONY: start-fg
start-fg: