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=""
|
||||
|
||||
Reference in New Issue
Block a user