[New-bugs-announce] [issue34439] Expose venv --prompt value to an environment value
report at bugs.python.org
Mon Aug 20 06:20:50 EDT 2018
New submission from Tomer Keren <tomer.keren.dev at gmail.com>:
In the same way the $VIRTUAL_ENV variable tells the virtual environment directory, A variable such as $VENV_NAME or $VENV_PROMPT should tell the value given to the venv `--prompt` option (Introduced in Issue22829).
An individual could override the EnvBuilder class like the docs say, but that wouldn't insure any user will have the variable set. This is crucial for usage in custom libraries that want to display the given prompt.
components: Library (Lib)
title: Expose venv --prompt value to an environment value
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce