Vinay Sajip <vinay_sa...@yahoo.co.uk> added the comment:

> It's stored in pyvenv.cfg.

Is it?

$ python3.8maint -m venv --prompt "foo bar" /tmp/venv
$ more /tmp/venv/pyvenv.cfg 
home = /home/vinay/projects/python/3.8
include-system-site-packages = false
version = 3.8.0
prompt = 'foo bar'

The source Python location is stored, but not, from what I can see, the venv 
path itself ... though of course that can be worked out from $PSScriptRoot or 
similar.

> How will this interact with EnvBuilder.install_scripts() (which explicitly 
> states that it performs textual substitution)?

If there's nothing to substitute (because the script source has no 
placeholders), that won't constitute a problem, AFAIK.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue37354>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to