summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2015-02-07 10:52:02 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2015-02-07 10:52:02 (GMT)
commitc7e34fb0bb9150a1e6f557af8ed0faa283a96654 (patch)
treefa037568472d79d2cce88f432203d056f8a1f600 /Doc/using
parente43c03508f7f3f9520e6d382e4cb0a02deb91bb4 (diff)
downloadcpython-c7e34fb0bb9150a1e6f557af8ed0faa283a96654.zip
cpython-c7e34fb0bb9150a1e6f557af8ed0faa283a96654.tar.gz
cpython-c7e34fb0bb9150a1e6f557af8ed0faa283a96654.tar.bz2
Minor change to documentation on creating venvs.
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/venv-create.inc11
1 files changed, 7 insertions, 4 deletions
diff --git a/Doc/using/venv-create.inc b/Doc/using/venv-create.inc
index 5fc46d2..3f5fe23 100644
--- a/Doc/using/venv-create.inc
+++ b/Doc/using/venv-create.inc
@@ -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
don't have the relevant PATH and PATHEXT settings::
- c:\Temp>c:\Python33\python c:\Python33\Tools\Scripts\pyvenv.py myenv
+ c:\Temp>c:\Python34\python c:\Python33\Tools\Scripts\pyvenv.py myenv
or equivalently::
- c:\Temp>c:\Python33\python -m venv myenv
+ c:\Temp>c:\Python34\python -m venv myenv
The command, if run with ``-h``, will show the available options::
- usage: pyvenv [-h] [--system-site-packages] [--symlinks] [--clear]
- [--upgrade] [--without-pip] ENV_DIR [ENV_DIR ...]
+ usage: venv [-h] [--system-site-packages] [--symlinks] [--clear]
+ [--upgrade] [--without-pip] ENV_DIR [ENV_DIR ...]
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::
--without-pip Skips installing or upgrading pip in the virtual
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
Installs pip by default, added the ``--without-pip`` and ``--copies``
options