aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJocelyn Delalande <jocelyn@crapouillou.net>2020-07-26 19:55:44 +0200
committerzorun <github@bitsofnetworks.org>2020-07-26 20:14:59 +0200
commit55bce593f04b64a383e300ae9967ce690f95c70d (patch)
tree7996604f20b4040404b41e8ef1d239583640ee17 /Makefile
parent48fabc346fd98d55eb44715e1a61e3feeb73de44 (diff)
downloadihatemoney-mirror-55bce593f04b64a383e300ae9967ce690f95c70d.zip
ihatemoney-mirror-55bce593f04b64a383e300ae9967ce690f95c70d.tar.gz
ihatemoney-mirror-55bce593f04b64a383e300ae9967ce690f95c70d.tar.bz2
Use venv module rather than virtualenv
- simpler to use - lighter dependency (or no dependency at all, depending on python distribution) - retrocompatible virtualenv package from pip to acheive virtual environment feature is no longer needed, except for projects which need to support py2, which is no longer our case. Also, reword "virtualenv" to "virtual environment" in doc, to avoid confusion with pip package name. Ref #483
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a681709..e2fbf32 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VIRTUALENV = virtualenv --python=python3
+VIRTUALENV = python3 -m venv
SPHINX_BUILDDIR = docs/_build
VENV := $(shell realpath $${VIRTUAL_ENV-.venv})
PYTHON = $(VENV)/bin/python3