Latest public/internal sync.

This commit is contained in:
Eric 2024-04-22 11:52:28 -07:00
parent 7d7893de81
commit a298fe9d49
No known key found for this signature in database
GPG Key ID: 89C93F0F8D6D5A98

View File

@ -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.