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:
parent
b6de88ed50
commit
b44c991d2f
3 changed files with 7 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/YunoHost/yunorunner/archive/390900af85db1ca771049b867a83cc0cde325cea.zip
|
||||
SOURCE_SUM=115c54700318928f2429ec10624edfb0
|
||||
SOURCE_URL=https://github.com/YunoHost/yunorunner/archive/4d8276179b98e3d35e69d6de8fcbd0be42d8e5d4.zip
|
||||
SOURCE_SUM=ede223a84d939c26e90b17c383b9abda
|
||||
SOURCE_SUM_PRG=md5sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -124,11 +124,11 @@ $final_path/.pythonz/bin/pythonz install 3.6.6
|
|||
#=================================================
|
||||
|
||||
pushd $final_path
|
||||
virtualenv -p $($final_path/.pythonz/bin/pythonz locate 3.6.6) ve3
|
||||
ve3/bin/pip3 install -r requirements.txt
|
||||
virtualenv -p $($final_path/.pythonz/bin/pythonz locate 3.6.6) ve3
|
||||
ve3/bin/pip3 install -r requirements-frozen.txt
|
||||
#Fix current websocket version error (2019-02-14)
|
||||
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
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -136,7 +136,8 @@ systemctl daemon-reload
|
|||
|
||||
pushd $final_path
|
||||
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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue