diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-04 16:24:37 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-04 16:30:09 +0800 |
commit | 085cb258fccb039180e52c8934451673d68e963f (patch) | |
tree | 4a9cbe70672799686995df8d81c9c1de81508f40 /Makefile | |
parent | 601fda9c6f9444087eea4fbb9f1c8397554e0b7f (diff) | |
download | fg21sim-085cb258fccb039180e52c8934451673d68e963f.tar.bz2 |
Makefile: Add --upgrade to pip3 and add a credit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,6 +3,8 @@ # # Makefile for "fg21sim" # +# Credit: http://blog.bottlepy.org/2012/07/16/virtualenv-and-makefiles.html +# # The name (also the directory) of the virtualenv VENV ?= "venv" @@ -24,7 +26,7 @@ default: venv: ${VENV}/bin/activate ${VENV}/bin/activate: requirements.txt test -d "${VENV}" || virtualenv --python=python3 ${VENV} - ./${VENV}/bin/pip3 install -r requirements.txt + ./${VENV}/bin/pip3 install --upgrade -r requirements.txt touch ${VENV}/bin/activate # Install this package to the virtualenv |