From cda807a46755c02547e508a7fda5ca4696f2a615 Mon Sep 17 00:00:00 2001 From: sroth Date: Mon, 6 Oct 2025 12:32:18 +0200 Subject: [PATCH] updated compilation script, including requirements.txt --- compile.sh | 13 ++++++++++++- requirements.txt | 5 +++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 requirements.txt diff --git a/compile.sh b/compile.sh index 4c74a36..d74a90c 100755 --- a/compile.sh +++ b/compile.sh @@ -4,8 +4,19 @@ set -e if [ "$VIRTUAL_ENV" == "" ] then - source venv/bin/activate + if [ ! -d "./venv/bin" ]; then + echo "venv not found, trying to create one" + python3 -m venv venv + fi + source venv/bin/activate fi + +if [[ ! $(pip3 freeze | grep pyinstaller) ]]; +then + echo "pyinstaller not found" + pip3 install -r requirements.txt +fi + version=$(cat version.txt) echo "current version set to: $version" new_version="" diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..7fa7597 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,5 @@ +altgraph==0.17.4 +packaging==25.0 +pyinstaller==6.16.0 +pyinstaller-hooks-contrib==2025.9 +setuptools==80.9.0