Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e8eb9725
Commit
e8eb9725
authored
Feb 18, 2018
by
TROUVERIE Joachim
Committed by
Jason R. Coombs
Feb 18, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correct venv doc (fix #32540) (#5736)
parent
7eb3f822
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Doc/using/venv-create.inc
Doc/using/venv-create.inc
+3
-4
No files found.
Doc/using/venv-create.inc
View file @
e8eb9725
...
...
@@ -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
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment