This commit is contained in:
midoks
2023-06-29 09:52:30 +08:00
parent 06f7087fad
commit 31a441ea02
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ psutil==5.9.1
chardet==3.0.4
flask-sqlalchemy==2.3.2
pyOpenSSL==22.0.0
cryptography==36.0.1
cryptography==38.0.4
configparser==5.2.0
python-engineio==4.3.2
python-socketio>=4.2.0
+10
View File
@@ -102,6 +102,16 @@ pip3 install --upgrade pip -i $PIPSRC
pip3 install --upgrade setuptools -i $PIPSRC
cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/requirements.txt -i $PIPSRC
# Different versions use different python lib
P_VER_D=`echo "$P_VER"|awk -F '.' '{print $1}'`
P_VER_M=`echo "$P_VER"|awk -F '.' '{print $2}'`
NEW_P_VER=${VER_D}.${VER_M}
if [ -f /www/server/mdserver-web/version/r${NEW_P_VER}.txt ];then
cd /www/server/mdserver-web && pip3 install -r /www/server/mdserver-web/version/r${NEW_P_VER}.txt -i $PIPSRC
fi
echo "lib ok!"
# pip3 install flask-caching==1.10.1
# pip3 install mysqlclient
+1
View File
@@ -0,0 +1 @@
cryptography==36.0.1