Skip to content

Commit b107c6f

Browse files
committed
Makefile: add possibility to specify python interpreter
By setting PYTHON environment variable, it can be set to use a custom interpreter.
1 parent 0194480 commit b107c6f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11

2+
PYTHON ?= python3
3+
24
.PHONY: doc
35

46
.venv/bin/pip:
5-
python3 -m venv .venv
7+
${PYTHON} -m venv .venv
68
.venv/bin/pip3 install --upgrade pip wheel
79

810
venv: .venv/bin/pip

0 commit comments

Comments
 (0)