mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
fix
This commit is contained in:
parent
6347392590
commit
82ad80eb96
2 changed files with 1 additions and 20 deletions
|
@ -30,7 +30,7 @@ Searx is a privacy-respecting, hackable metasearch engine.
|
|||
|
||||
#### Supported architectures
|
||||
|
||||
* x86-64b - [](https://ci-apps.yunohost.org/ci/apps/searx/)
|
||||
* x86-64 - [](https://ci-apps.yunohost.org/ci/apps/searx/)
|
||||
* ARMv8-A - [](https://ci-apps-arm.yunohost.org/ci/apps/searx/)
|
||||
|
||||
## Limitations
|
||||
|
|
|
@ -116,30 +116,11 @@ ynh_system_user_create --username=$app
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading Searx..." --weight=7
|
||||
|
||||
# # Clean venv if it still on python2
|
||||
# if [ ! -e $final_path/bin/python3 ]
|
||||
# then
|
||||
# ynh_secure_remove --file=$final_path/lib/ --regex='python[^/.]*'
|
||||
# ynh_secure_remove --file=$final_path/lib64/ --regex='python[^/.]*'
|
||||
# ynh_secure_remove --file=$final_path/share/python-wheels
|
||||
# fi
|
||||
# ynh_secure_remove --file=$final_path/lib/python3.7/site-packages/setuptools
|
||||
# ynh_secure_remove --file=$final_path/lib/python3.7/site-packages/ --regex='setuptools-[^/.]*'
|
||||
# python3 -m venv --system-site-packages "$final_path"
|
||||
# set +u; source $final_path/bin/activate; set -u
|
||||
# pip3 install -U setuptools
|
||||
# pip3 install --requirement $final_path/requirements-ynh.txt --upgrade
|
||||
|
||||
|
||||
|
||||
|
||||
python3 -m venv --system-site-packages "$final_path"
|
||||
set +u; source $final_path/bin/activate; set -u
|
||||
pip3 install -U setuptools
|
||||
pip3 install --requirement $final_path/requirements-ynh.txt
|
||||
|
||||
|
||||
|
||||
#=================================================
|
||||
# CONFIGURE SEARX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue