updated compilation script, including requirements.txt
This commit is contained in:
13
compile.sh
13
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=""
|
||||
|
||||
5
requirements.txt
Normal file
5
requirements.txt
Normal 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
|
||||
Reference in New Issue
Block a user