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
d005090e
Commit
d005090e
authored
Feb 07, 2015
by
Vinay Sajip
Browse files
Options
Browse Files
Download
Plain Diff
Closes #23357: Updated documentation on creating venvs.
parents
3468a06d
3595276b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
Doc/using/venv-create.inc
Doc/using/venv-create.inc
+7
-4
No files found.
Doc/using/venv-create.inc
View file @
d005090e
...
@@ -21,16 +21,16 @@ subdirectory (on Windows, this is ``Lib\site-packages``).
...
@@ -21,16 +21,16 @@ subdirectory (on Windows, this is ``Lib\site-packages``).
On Windows, you may have to invoke the ``pyvenv`` script as follows, if you
On Windows, you may have to invoke the ``pyvenv`` script as follows, if you
don'
t
have
the
relevant
PATH
and
PATHEXT
settings
::
don'
t
have
the
relevant
PATH
and
PATHEXT
settings
::
c
:
\Temp
>
c
:
\Python3
3\python
c
:
\Python33
\Tools\Scripts\pyvenv
.
py
myenv
c
:
\Temp
>
c
:
\Python3
5\python
c
:
\Python35
\Tools\Scripts\pyvenv
.
py
myenv
or
equivalently
::
or
equivalently
::
c
:
\Temp
>
c
:
\Python3
3
\python
-
m
venv
myenv
c
:
\Temp
>
c
:
\Python3
5
\python
-
m
venv
myenv
The
command
,
if
run
with
``
-
h
``
,
will
show
the
available
options
::
The
command
,
if
run
with
``
-
h
``
,
will
show
the
available
options
::
usage
:
py
venv
[
-
h
]
[
--
system
-
site
-
packages
]
[
--
symlinks
]
[
--
clear
]
usage
:
venv
[
-
h
]
[
--
system
-
site
-
packages
]
[
--
symlinks
]
[
--
clear
]
[
--
upgrade
]
[
--
without
-
pip
]
ENV_DIR
[
ENV_DIR
...
]
[
--
upgrade
]
[
--
without
-
pip
]
ENV_DIR
[
ENV_DIR
...
]
Creates
virtual
Python
environments
in
one
or
more
target
directories
.
Creates
virtual
Python
environments
in
one
or
more
target
directories
.
...
@@ -53,6 +53,9 @@ The command, if run with ``-h``, will show the available options::
...
@@ -53,6 +53,9 @@ The command, if run with ``-h``, will show the available options::
--without-pip Skips installing or upgrading pip in the virtual
--without-pip Skips installing or upgrading pip in the virtual
environment (pip is bootstrapped by default)
environment (pip is bootstrapped by default)
Depending on how the ``venv`` functionality has been invoked, the usage message
may vary slightly, e.g. referencing ``pyvenv`` rather than ``venv``.
.. versionchanged:: 3.4
.. versionchanged:: 3.4
Installs pip by default, added the ``--without-pip`` and ``--copies``
Installs pip by default, added the ``--without-pip`` and ``--copies``
options
options
...
...
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