aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 90fe952..7c59716 100644
--- a/Makefile
+++ b/Makefile
@@ -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