From ee9106047c2128e8be07e754157c71c92a77a442 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 14 Feb 2025 08:57:16 +0100 Subject: fw: Do not track Python environment Tracking the Python environment with specific dependency versions does not work well. Over time these versions disappear and are not anymore installable via pip. For now the alternative is to let the user setup the environment by interpreting the error output during builds. This is not convenient but the best which is currently possible. This furthermore allows to install Python dependencies via the Linux package manager. With that it is more ergonomic to build since the Python environment does not have to be sourced. --- fw/README.md | 8 -------- fw/zephyrproject/.gitignore | 1 - fw/zephyrproject/requirements.txt | 11 ----------- 3 files changed, 20 deletions(-) delete mode 100644 fw/zephyrproject/.gitignore delete mode 100644 fw/zephyrproject/requirements.txt (limited to 'fw') diff --git a/fw/README.md b/fw/README.md index b0d2c46..8287fab 100644 --- a/fw/README.md +++ b/fw/README.md @@ -3,14 +3,6 @@ This is the firmware for iot-contact. It is based on the Zephyr real time operating system [1]. -## Setup Python environment - -``` -python -m venv zephyrproject/.venv -source zephyrproject/.venv/bin/activate -pip install -r zephyrproject/requirements.txt -``` - ## Build ``` diff --git a/fw/zephyrproject/.gitignore b/fw/zephyrproject/.gitignore deleted file mode 100644 index 1d17dae..0000000 --- a/fw/zephyrproject/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.venv diff --git a/fw/zephyrproject/requirements.txt b/fw/zephyrproject/requirements.txt deleted file mode 100644 index 4e2bd45..0000000 --- a/fw/zephyrproject/requirements.txt +++ /dev/null @@ -1,11 +0,0 @@ -anytree==2.12.1 -docopt==0.6.2 -intelhex==2.3.0 -packaging==24.1 -pyelftools==0.31 -pykwalify==1.8.0 -python-dateutil==2.9.0.post0 -PyYAML==6.0.2 -ruamel.yaml==0.18.6 -ruamel.yaml.clib==0.2.8 -six==1.16.0 -- cgit v1.2.3-70-g09d2