From a298fe9d49b45045f649248eef0277a81cac70ac Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 22 Apr 2024 11:52:28 -0700 Subject: [PATCH] Latest public/internal sync. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2c4284fc..c5129fed 100644 --- a/Makefile +++ b/Makefile @@ -1254,6 +1254,8 @@ tools/cloudshell: tools/efrotools/genwrapper.py tools/efrotools/pyver.py # Set this to 1 to skip environment checks. SKIP_ENV_CHECKS ?= 0 +VENV_PYTHON ?= python3.12 + # Rebuild our virtual environment whenever reqs or Python version changes. # This is a prereq dependency so should not itself depend on prereqs. Note # that we rely on pcommand but can't use it in here until the end when the @@ -1262,7 +1264,7 @@ SKIP_ENV_CHECKS ?= 0 tools/efrotools/pyver.py @echo Creating Project\'s Python Virtual Environment... @rm -rf .venv - python3.12 -m venv .venv + $(VENV_PYTHON) -m venv .venv .venv/bin/pip install --upgrade pip .venv/bin/pip install -r config/requirements.txt touch .venv/efro_venv_complete # Done last to avoid partly-built venvs.