diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-27 21:30:41 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-27 21:30:41 +0200 |
commit | 915980607f7325b0759bd508d21aa1467a590392 (patch) | |
tree | 308d2558e8f6bdc538139ff7789db23afa028f6a /Makefile | |
parent | e967a372218df05424b1566a02cafe2432d57326 (diff) | |
download | Trader-915980607f7325b0759bd508d21aa1467a590392.tar.gz Trader-915980607f7325b0759bd508d21aa1467a590392.tar.zst Trader-915980607f7325b0759bd508d21aa1467a590392.zip |
Add conditional install with virtual env
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,5 +1,9 @@ | |||
1 | install: | 1 | install: |
2 | ifeq (${VIRTUAL_ENV},) | ||
2 | pip install --user -r requirements.txt | 3 | pip install --user -r requirements.txt |
4 | else | ||
5 | pip install -r requirements.txt | ||
6 | endif | ||
3 | 7 | ||
4 | test: | 8 | test: |
5 | python test.py | 9 | python test.py |