Skip to content

[3.6] Correct venv doc bpo-32540 #5736

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 18, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions Doc/using/venv-create.inc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ 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``).
subdirectory (on Windows, this is ``Lib\site-packages``). If an existing
directory is specified, it will be re-used.

.. deprecated:: 3.6
``pyvenv`` was the recommended tool for creating virtual environments for
Expand Down Expand Up @@ -71,9 +72,7 @@ The command, if run with ``-h``, will show the available options::

.. 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.
raised, unless the ``--clear`` or ``--upgrade`` option was provided.

The created ``pyvenv.cfg`` file also includes the
``include-system-site-packages`` key, set to ``true`` if ``venv`` is
Expand Down