mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Allow virtualenv to use system wide packages
This fix the installation on some architecture by avoiding to compile lxml and also on architecture with low available ram (like the internet cube).
This commit is contained in:
parent
ff0a461eb9
commit
c97648e410
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ then
|
||||||
sudo mkdir -p $final_path
|
sudo mkdir -p $final_path
|
||||||
fi
|
fi
|
||||||
sudo cp -r ../sources/* $final_path
|
sudo cp -r ../sources/* $final_path
|
||||||
sudo virtualenv $final_path
|
sudo virtualenv --system-site-packages $final_path
|
||||||
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt"
|
sudo bash -c "source $final_path/bin/activate && pip install -r $final_path/requirements.txt"
|
||||||
|
|
||||||
# Disable swapfile
|
# Disable swapfile
|
||||||
|
|
Loading…
Add table
Reference in a new issue