diff options
author | Georg Brandl <georg@python.org> | 2013-10-06 12:52:53 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-10-06 12:52:53 +0200 |
commit | 698385c94ff461c8f6c2d0b5e35dca154a1dcf0a (patch) | |
tree | 11445c7786f5cecbe41cf4a4485bc93c9a3ee716 /Doc/library/venv.rst | |
parent | e37ddd9a2225d329f41d2907c7de3c40eaa4b91b (diff) | |
parent | b89beef58ebdd868553a34d1dea2524bd6976d6b (diff) | |
download | cpython-698385c94ff461c8f6c2d0b5e35dca154a1dcf0a.tar.gz |
merge with 3.3
Diffstat (limited to 'Doc/library/venv.rst')
-rw-r--r-- | Doc/library/venv.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/venv.rst b/Doc/library/venv.rst index 2dd21e5193..042ed8eff8 100644 --- a/Doc/library/venv.rst +++ b/Doc/library/venv.rst @@ -93,8 +93,8 @@ creation according to their needs, the :class:`EnvBuilder` class. * ``system_site_packages`` -- a Boolean value indicating that the system Python site-packages should be available to the environment (defaults to ``False``). - * ``clear`` -- a Boolean value which, if True, will delete any existing target - directory instead of raising an exception (defaults to ``False``). + * ``clear`` -- a Boolean value which, if True, will delete the contents of + any existing target directory, before creating the environment. * ``symlinks`` -- a Boolean value indicating whether to attempt to symlink the Python binary (and any necessary DLLs or other binaries, @@ -106,7 +106,6 @@ creation according to their needs, the :class:`EnvBuilder` class. upgraded in-place (defaults to ``False``). - Creators of third-party virtual environment tools will be free to use the provided ``EnvBuilder`` class as a base class. @@ -188,6 +187,9 @@ creation according to their needs, the :class:`EnvBuilder` class. * ``__VENV_NAME__`` is replaced with the environment name (final path segment of environment directory). + * ``__VENV_PROMPT__`` is replaced with the prompt (the environment + name surrounded by parentheses and with a following space) + * ``__VENV_BIN_NAME__`` is replaced with the name of the bin directory (either ``bin`` or ``Scripts``). |