diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-12-14 12:38:23 -0800 |
---|---|---|
committer | Brett Cannon <brettcannon@users.noreply.github.com> | 2018-12-14 12:38:23 -0800 |
commit | d5176fe2bcd35dc8d70d13220b58fa7ccd05b47a (patch) | |
tree | af86722a4d25f7575f8d6c24c40670af2c00b39a /Doc/using | |
parent | 77824ef6e50e8a47a0b57df2d9f3b48bffd414ac (diff) | |
download | cpython-git-d5176fe2bcd35dc8d70d13220b58fa7ccd05b47a.tar.gz |
bpo-35450: reflect in docs that venv module is not always creating a copy of the Python binary (GH-11144) (GH-11167)
https://bugs.python.org/issue35450
(cherry picked from commit f5107dfd42121ef40b13eb678705802f0ff02cf9)
Co-authored-by: mkkot <marcin2006@gmail.com>
Diffstat (limited to 'Doc/using')
-rw-r--r-- | Doc/using/venv-create.inc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc index 45abd59d18..ba5096abd3 100644 --- a/Doc/using/venv-create.inc +++ b/Doc/using/venv-create.inc @@ -7,9 +7,10 @@ Running this command creates the target directory (creating any parent directories that don't exist already) and places a ``pyvenv.cfg`` file in it with a ``home`` key pointing to the Python installation from which the command was run. It also creates a ``bin`` (or ``Scripts`` on Windows) subdirectory -containing a copy of the ``python`` binary (or binaries, in the case of -Windows). It also creates an (initially empty) ``lib/pythonX.Y/site-packages`` -subdirectory (on Windows, this is ``Lib\site-packages``). If an existing +containing a copy/symlink of the Python binary/binaries (as appropriate for the +platform or arguments used at environment creation time). It also creates an +(initially empty) ``lib/pythonX.Y/site-packages`` subdirectory +(on Windows, this is ``Lib\site-packages``). If an existing directory is specified, it will be re-used. .. deprecated:: 3.6 |