1
0
Fork 0
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:
abeudin 2015-09-10 21:51:47 +02:00
commit 2723212d6d

View file

@ -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