diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-01-23 19:35:12 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2015-01-23 19:35:12 (GMT) |
commit | 71e72960169dbcacc3c62cef7e024f3b1cd95f2e (patch) | |
tree | a40fcea216ec55f0458bab0945b12aa5f4a77409 /Doc | |
parent | 48e810069ddc725903588c9609ac84900ee65b4c (diff) | |
download | cpython-71e72960169dbcacc3c62cef7e024f3b1cd95f2e.zip cpython-71e72960169dbcacc3c62cef7e024f3b1cd95f2e.tar.gz cpython-71e72960169dbcacc3c62cef7e024f3b1cd95f2e.tar.bz2 |
Updated pyvenv documentation to match its current behaviour.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/using/venv-create.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc index ba1cdcc..5fc46d2 100644 --- a/Doc/using/venv-create.inc +++ b/Doc/using/venv-create.inc @@ -57,8 +57,11 @@ The command, if run with ``-h``, will show the available options:: Installs pip by default, added the ``--without-pip`` and ``--copies`` options -If the target directory already exists an error will be raised, unless -the ``--clear`` or ``--upgrade`` option was provided. +.. versionchanged:: 3.4 + In earlier versions, if the target directory already existed, an error was + raised, unless the ``--clear`` or ``--upgrade`` option was provided. Now, + if an existing directory is specified, its contents are removed and + the directory is processed as if it had been newly created. The created ``pyvenv.cfg`` file also includes the ``include-system-site-packages`` key, set to ``true`` if ``venv`` is |