From 65d1d01fbe1497faea7e944ad5d38e581120c30f Mon Sep 17 00:00:00 2001 From: Marko Mecina <marko.mecina@univie.ac.at> Date: Tue, 16 Aug 2022 15:15:36 +0200 Subject: [PATCH] update top level Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fae3cac..0f2e27c 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ install-python-requirements: @echo "+-----------------------------+" @echo "| installing Python modules |" @echo "+-----------------------------+" - pip install --user -U -r $(CURDIR)/requirements.txt + if [ -z $VIRTUAL_ENV ]; then pip install --user -U -r $(CURDIR)/requirements.txt; else pip install -U -r $(CURDIR)/requirements.txt; fi @echo "+-----------------------------+" @echo "| installed Python modules |" @echo "+-----------------------------+" -- GitLab