updated compilation script, including requirements.txt

This commit is contained in:
2025-10-06 12:32:18 +02:00
parent 3299584924
commit cda807a467
2 changed files with 17 additions and 1 deletions

View File

@@ -4,8 +4,19 @@ set -e
if [ "$VIRTUAL_ENV" == "" ] if [ "$VIRTUAL_ENV" == "" ]
then then
if [ ! -d "./venv/bin" ]; then
echo "venv not found, trying to create one"
python3 -m venv venv
fi
source venv/bin/activate source venv/bin/activate
fi fi
if [[ ! $(pip3 freeze | grep pyinstaller) ]];
then
echo "pyinstaller not found"
pip3 install -r requirements.txt
fi
version=$(cat version.txt) version=$(cat version.txt)
echo "current version set to: $version" echo "current version set to: $version"
new_version="" new_version=""

5
requirements.txt Normal file
View File

@@ -0,0 +1,5 @@
altgraph==0.17.4
packaging==25.0
pyinstaller==6.16.0
pyinstaller-hooks-contrib==2025.9
setuptools==80.9.0