mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-08 00:30:22 +08:00
Latest public/internal sync.
This commit is contained in:
parent
7d7893de81
commit
a298fe9d49
4
Makefile
4
Makefile
@ -1254,6 +1254,8 @@ tools/cloudshell: tools/efrotools/genwrapper.py tools/efrotools/pyver.py
|
|||||||
# Set this to 1 to skip environment checks.
|
# Set this to 1 to skip environment checks.
|
||||||
SKIP_ENV_CHECKS ?= 0
|
SKIP_ENV_CHECKS ?= 0
|
||||||
|
|
||||||
|
VENV_PYTHON ?= python3.12
|
||||||
|
|
||||||
# Rebuild our virtual environment whenever reqs or Python version changes.
|
# Rebuild our virtual environment whenever reqs or Python version changes.
|
||||||
# This is a prereq dependency so should not itself depend on prereqs. Note
|
# 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
|
# 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
|
tools/efrotools/pyver.py
|
||||||
@echo Creating Project\'s Python Virtual Environment...
|
@echo Creating Project\'s Python Virtual Environment...
|
||||||
@rm -rf .venv
|
@rm -rf .venv
|
||||||
python3.12 -m venv .venv
|
$(VENV_PYTHON) -m venv .venv
|
||||||
.venv/bin/pip install --upgrade pip
|
.venv/bin/pip install --upgrade pip
|
||||||
.venv/bin/pip install -r config/requirements.txt
|
.venv/bin/pip install -r config/requirements.txt
|
||||||
touch .venv/efro_venv_complete # Done last to avoid partly-built venvs.
|
touch .venv/efro_venv_complete # Done last to avoid partly-built venvs.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user