1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Use requirements-frozen

This commit is contained in:
Maniack Crudelis 2019-03-28 21:26:16 +01:00
parent b6de88ed50
commit b44c991d2f
3 changed files with 7 additions and 6 deletions

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/YunoHost/yunorunner/archive/390900af85db1ca771049b867a83cc0cde325cea.zip SOURCE_URL=https://github.com/YunoHost/yunorunner/archive/4d8276179b98e3d35e69d6de8fcbd0be42d8e5d4.zip
SOURCE_SUM=115c54700318928f2429ec10624edfb0 SOURCE_SUM=ede223a84d939c26e90b17c383b9abda
SOURCE_SUM_PRG=md5sum SOURCE_SUM_PRG=md5sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true

View file

@ -124,11 +124,11 @@ $final_path/.pythonz/bin/pythonz install 3.6.6
#================================================= #=================================================
pushd $final_path pushd $final_path
virtualenv -p $($final_path/.pythonz/bin/pythonz locate 3.6.6) ve3 virtualenv -p $($final_path/.pythonz/bin/pythonz locate 3.6.6) ve3
ve3/bin/pip3 install -r requirements.txt ve3/bin/pip3 install -r requirements-frozen.txt
#Fix current websocket version error (2019-02-14) #Fix current websocket version error (2019-02-14)
ve3/bin/pip3 uninstall -y websockets ve3/bin/pip3 uninstall -y websockets
ve3/bin/pip3 install 'websockets>=6.0,<7.0' ve3/bin/pip3 install 'websockets>=6.0,<7.0'
popd popd
#================================================= #=================================================

View file

@ -136,7 +136,8 @@ systemctl daemon-reload
pushd $final_path pushd $final_path
ve3/bin/pip3 uninstall -y websockets ve3/bin/pip3 uninstall -y websockets
ve3/bin/pip3 install 'websockets>=6.0,<7.0' ve3/bin/pip3 install 'websockets>=6.0,<7.0'
ve3/bin/pip3 install -r requirements-frozen.txt
popd popd
#================================================= #=================================================