aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-27 21:30:41 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-27 21:30:41 +0200
commit915980607f7325b0759bd508d21aa1467a590392 (patch)
tree308d2558e8f6bdc538139ff7789db23afa028f6a
parente967a372218df05424b1566a02cafe2432d57326 (diff)
downloadTrader-915980607f7325b0759bd508d21aa1467a590392.tar.gz
Trader-915980607f7325b0759bd508d21aa1467a590392.tar.zst
Trader-915980607f7325b0759bd508d21aa1467a590392.zip
Add conditional install with virtual env
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dfbe3b4..534bf88 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,9 @@
1install: 1install:
2ifeq (${VIRTUAL_ENV},)
2 pip install --user -r requirements.txt 3 pip install --user -r requirements.txt
4else
5 pip install -r requirements.txt
6endif
3 7
4test: 8test:
5 python test.py 9 python test.py