mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
doc: fix venv creating for the local Python using uv (#129094)
This commit is contained in:
parent
5d57959d7d
commit
da36bccdac
1 changed files with 1 additions and 1 deletions
|
@ -172,7 +172,7 @@ venv:
|
||||||
else \
|
else \
|
||||||
echo "Creating venv in $(VENVDIR)"; \
|
echo "Creating venv in $(VENVDIR)"; \
|
||||||
if $(UV) --version >/dev/null 2>&1; then \
|
if $(UV) --version >/dev/null 2>&1; then \
|
||||||
$(UV) venv $(VENVDIR); \
|
$(UV) venv --python=$(PYTHON) $(VENVDIR); \
|
||||||
VIRTUAL_ENV=$(VENVDIR) $(UV) pip install -r $(REQUIREMENTS); \
|
VIRTUAL_ENV=$(VENVDIR) $(UV) pip install -r $(REQUIREMENTS); \
|
||||||
else \
|
else \
|
||||||
$(PYTHON) -m venv $(VENVDIR); \
|
$(PYTHON) -m venv $(VENVDIR); \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue