8000 bpo-24356: Specify which Python binary will be used with venv (GH-6589) · python/cpython@5032692 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5032692

Browse files
elenaoatzooba
authored andcommitted
bpo-24356: Specify which Python binary will be used with venv (GH-6589)
1 parent 8fe9eed commit 5032692

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Doc/library/venv.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,17 @@
1717

1818
The :mod:`venv` module provides support for creating lightweight "virtual
1919
environments" with their own site directories, optionally isolated from system
20-
site directories. Each virtual environment has its own Python binary (allowing
21-
creation of environments with various Python versions) and can have its own
22-
independent set of installed Python packages in its site directories.
20+
site directories. Each virtual environment has its own Python binary (which
21+
matches the version of the binary that was used to create this environment) and
22+
can have its own independent set of installed Python packages in its site
23+
directories.
2324

2425
See :pep:`405` for more information about Python virtual environments.
2526

27+
.. seealso::
28+
29+
`Python Packaging User Guide: Creating and using virtual environments
30+
<https://packaging.python.org/installing/#creating-virtual-environments>`__
2631

2732

2833
Creating virtual environments

Doc/using/venv-create.inc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ directory is specified, it will be re-used.
2020
.. versionchanged:: 3.5
2121
The use of ``venv`` is now recommended for creating virtual environments.
2222
23-
.. seealso::
24-
25-
`Python Packaging User Guide: Creating and using virtual environments
26-
<https://packaging.python.org/installing/#creating-virtual-environments>`__
27-
2823
.. highlight:: none
2924
3025
On Windows, invoke the ``venv`` command as follows::

0 commit comments

Comments
 (0)
0