From 518d511b5d4161cf60a371082e41dbe6414570c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Thu, 8 Feb 2018 21:40:01 +0100 Subject: [PATCH] Do not use site-packages in venv --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ff1f0f6..51af6e0 100644 --- a/Makefile +++ b/Makefile @@ -22,8 +22,8 @@ clean: $(ansible): venv venv: - command -v virtualenv || sudo dnf install -y python2-virtualenv - virtualenv --system-site-packages --python=python2 $(venv) + command -v virtualenv || sudo dnf install -y python2-virtualenv || sudo apt-get -y install virtualenv + virtualenv --no-site-packages --python=python2 $(venv) $(activate) && $(pip) install -r $(requirements) freeze: