mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
Merge pull request #20 from Psycojoker/patch-1
Allow virtualenv to use system wide packages
This commit is contained in:
commit
2723212d6d
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…
Reference in a new issue