]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-24356: Specify which Python binary will be used with venv (GH-6589)
authorElena Oat <oat.elena@gmail.com>
Sat, 28 Jul 2018 12:58:05 +0000 (05:58 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Sat, 28 Jul 2018 12:58:05 +0000 (13:58 +0100)
Doc/library/venv.rst
Doc/using/venv-create.inc

index b85d642ee61c5270ee599936374f08e77ff3491d..7058d3a54b7fb271190835be5284b2a64924a3f1 100644 (file)
 
 The :mod:`venv` module provides support for creating lightweight "virtual
 environments" with their own site directories, optionally isolated from system
-site directories.  Each virtual environment has its own Python binary (allowing
-creation of environments with various Python versions) and can have its own
-independent set of installed Python packages in its site directories.
+site directories.  Each virtual environment has its own Python binary (which
+matches the version of the binary that was used to create this environment) and
+can have its own independent set of installed Python packages in its site
+directories.
 
 See :pep:`405` for more information about Python virtual environments.
 
+.. seealso::
+
+   `Python Packaging User Guide: Creating and using virtual environments
+   <https://packaging.python.org/installing/#creating-virtual-environments>`__
 
 
 Creating virtual environments
index 4c7795ad801964fe945f58771efb36763d67ec3c..272090d083a5e24a58735583bed8449160a6bc8b 100644 (file)
@@ -20,11 +20,6 @@ directory is specified, it will be re-used.
 .. versionchanged:: 3.5
    The use of ``venv`` is now recommended for creating virtual environments.
 
-.. seealso::
-
-   `Python Packaging User Guide: Creating and using virtual environments
-   <https://packaging.python.org/installing/#creating-virtual-environments>`__
-
 .. highlight:: none
 
 On Windows, invoke the ``venv`` command as follows::