mirror of https://github.com/python/cpython
Closes #23202: pyvenv documentation updated to match its behavior.
This commit is contained in:
commit
9aeef32cc0
|
@ -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``
|
Installs pip by default, added the ``--without-pip`` and ``--copies``
|
||||||
options
|
options
|
||||||
|
|
||||||
If the target directory already exists an error will be raised, unless
|
.. versionchanged:: 3.4
|
||||||
the ``--clear`` or ``--upgrade`` option was provided.
|
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
|
The created ``pyvenv.cfg`` file also includes the
|
||||||
``include-system-site-packages`` key, set to ``true`` if ``venv`` is
|
``include-system-site-packages`` key, set to ``true`` if ``venv`` is
|
||||||
|
|
Loading…
Reference in New Issue