From: Ismaƫl Bouya Date: Tue, 27 Mar 2018 19:30:41 +0000 (+0200) Subject: Add conditional install with virtual env X-Git-Tag: v1.0.2^2 X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FTrader.git;a=commitdiff_plain;h=915980607f7325b0759bd508d21aa1467a590392 Add conditional install with virtual env --- diff --git a/Makefile b/Makefile index dfbe3b4..534bf88 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,9 @@ install: +ifeq (${VIRTUAL_ENV},) pip install --user -r requirements.txt +else + pip install -r requirements.txt +endif test: python test.py