Closes #19139: Changed usage of __VENV_NAME__ and added __VENV_PROMPT__.

This commit is contained in:
Vinay Sajip 2013-10-02 11:36:16 +01:00
parent 7c411a4041
commit dff9e2535f
6 changed files with 11 additions and 7 deletions

View file

@ -187,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``).