mirror of
https://github.com/python/cpython
synced 2024-09-16 00:17:02 +00:00
docs: announce venv creation before installing packages (#117036)
This commit is contained in:
parent
9080e9ed50
commit
332ac46c09
|
@ -163,6 +163,7 @@ venv:
|
||||||
echo "venv already exists."; \
|
echo "venv already exists."; \
|
||||||
echo "To recreate it, remove it first with \`make clean-venv'."; \
|
echo "To recreate it, remove it first with \`make clean-venv'."; \
|
||||||
else \
|
else \
|
||||||
|
echo "Creating venv in $(VENVDIR)"; \
|
||||||
$(PYTHON) -m venv $(VENVDIR); \
|
$(PYTHON) -m venv $(VENVDIR); \
|
||||||
$(VENVDIR)/bin/python3 -m pip install --upgrade pip; \
|
$(VENVDIR)/bin/python3 -m pip install --upgrade pip; \
|
||||||
$(VENVDIR)/bin/python3 -m pip install -r $(REQUIREMENTS); \
|
$(VENVDIR)/bin/python3 -m pip install -r $(REQUIREMENTS); \
|
||||||
|
|
Loading…
Reference in a new issue