mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Fix upgrade
This commit is contained in:
parent
e6c6766097
commit
96dbbbedad
3 changed files with 21 additions and 16 deletions
|
@ -94,7 +94,7 @@ ynh_setup_source "$final_path"
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
virtualenv --system-site-packages "$final_path"
|
virtualenv --system-site-packages "$final_path"
|
||||||
bash -c "source $final_path/bin/activate && pip install -U pip setuptools && pip install --requirement $final_path/requirements-ynh.txt"
|
bash -c "source $final_path/bin/activate && pip install -U setuptools && pip install --requirement $final_path/requirements-ynh.txt"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CONFIGURE SEARX
|
# CONFIGURE SEARX
|
||||||
|
|
|
@ -96,9 +96,10 @@ ynh_system_user_create $app
|
||||||
# UPGRADE SEARX IN ITS VIRTUALENV
|
# UPGRADE SEARX IN ITS VIRTUALENV
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
rm -r $final_path/lib/python2.7/site-packages/{pip,setuptools} $final_path/lib/python2.7/site-packages/setuptools-* $final_path/lib/python2.7/site-packages/pip-*
|
rm -r $final_path/lib/python2.7/site-packages/setuptools $final_path/lib/python2.7/site-packages/setuptools-*
|
||||||
|
rm -rf $final_path/lib/python2.7/site-packages/pip $final_path/lib/python2.7/site-packages/pip-*
|
||||||
virtualenv --system-site-packages "$final_path"
|
virtualenv --system-site-packages "$final_path"
|
||||||
bash -c "source $final_path/bin/activate && pip install -U pip setuptools && pip install --requirement $final_path/requirements-ynh.txt --upgrade"
|
bash -c "source $final_path/bin/activate && pip install -U setuptools && pip install --requirement $final_path/requirements-ynh.txt --upgrade"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CONFIGURE SEARX
|
# CONFIGURE SEARX
|
||||||
|
|
|
@ -1,14 +1,18 @@
|
||||||
certifi==2016.9.26
|
# Have a look to https://github.com/asciimoo/searx/blob/master/requirements.txt for each upgrade of Searx
|
||||||
flask==0.12
|
certifi==2017.11.5
|
||||||
flask-babel==0.11.1
|
flask==0.12.2
|
||||||
# lxml==3.7.1
|
flask-babel==0.11.2
|
||||||
markupsafe==0.23
|
# lxml==4.1.1
|
||||||
ndg-httpsclient==0.4.2
|
idna==2.5
|
||||||
pyasn1==0.1.9
|
|
||||||
pyasn1-modules==0.0.8
|
|
||||||
pygments==2.1.3
|
pygments==2.1.3
|
||||||
pyopenssl==16.2.0
|
pyopenssl==17.4.0
|
||||||
python-dateutil==2.5.3
|
python-dateutil==2.6.1
|
||||||
pyyaml==3.11
|
pyyaml==3.12
|
||||||
requests[socks]==2.12.4
|
requests[socks]==2.18.4
|
||||||
|
|
||||||
|
# Additionnals requirements
|
||||||
|
markupsafe>=0.23
|
||||||
|
ndg-httpsclient>=0.4.2
|
||||||
|
pyasn1>=0.1.9
|
||||||
|
pyasn1-modules>=0.0.8
|
||||||
cffi>=1.6
|
cffi>=1.6
|
Loading…
Reference in a new issue