From c97648e410910568847b0660bfea78f1dfe085ad Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Thu, 10 Sep 2015 21:51:14 +0200 Subject: [PATCH] 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). --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index add44f3..5d3b9e9 100644 --- a/scripts/install +++ b/scripts/install @@ -42,7 +42,7 @@ then sudo mkdir -p $final_path fi 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" # Disable swapfile