aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-10-29 22:57:40 +0800
committerAaron LI <aaronly.me@outlook.com>2016-10-29 22:57:40 +0800
commitd078c1ae3f7171e9e8252474ce5dbaef37a26281 (patch)
tree8ac4cd1f5faa517bc0a59371f22fc589454efc52 /Makefile
parent5f15114452c9ba70d965ef36e46df410621b1caa (diff)
downloadfg21sim-d078c1ae3f7171e9e8252474ce5dbaef37a26281.tar.bz2
Makefile: Use the built-in "venv" module available at Python >=3.3
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1a5c821..0416565 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ default:
# Create virtualenv and install/update the dependencies
venv: ${VENV}/bin/activate
${VENV}/bin/activate: requirements.txt
- test -d ./${VENV} || virtualenv --python=python3 ${VENV}
+ test -d ./${VENV} || python3 -m venv ${VENV}
./${VENV}/bin/pip3 install -r requirements.txt
touch ${VENV}/bin/activate