mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.11] docs: announce venv creation before installing packages (GH-117036) (#117039)
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
This commit is contained in:
parent
25c34ce3ed
commit
1de746fc1e
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ venv:
|
|||
echo "venv already exists."; \
|
||||
echo "To recreate it, remove it first with \`make clean-venv'."; \
|
||||
else \
|
||||
echo "Creating venv in $(VENVDIR)"; \
|
||||
$(PYTHON) -m venv $(VENVDIR); \
|
||||
$(VENVDIR)/bin/python3 -m pip install --upgrade pip; \
|
||||
$(VENVDIR)/bin/python3 -m pip install -r $(REQUIREMENTS); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue