mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
update
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
cryptography==36.0.1
|
||||
Reference in New Issue
Block a user