diff options
author | xengineering <me@xengineering.eu> | 2025-02-14 08:57:16 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-02-14 08:57:16 +0100 |
commit | ee9106047c2128e8be07e754157c71c92a77a442 (patch) | |
tree | 6e98c7ce2485e3d4ca000019b86934b9d8a6cbb3 /fw | |
parent | 2885c22d8c07151e69aa9e8924b451c229f7ebbd (diff) | |
download | iot-contact-ee9106047c2128e8be07e754157c71c92a77a442.tar iot-contact-ee9106047c2128e8be07e754157c71c92a77a442.tar.zst iot-contact-ee9106047c2128e8be07e754157c71c92a77a442.zip |
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.
Diffstat (limited to 'fw')
-rw-r--r-- | fw/README.md | 8 | ||||
-rw-r--r-- | fw/zephyrproject/.gitignore | 1 | ||||
-rw-r--r-- | fw/zephyrproject/requirements.txt | 11 |
3 files changed, 0 insertions, 20 deletions
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 |