Message346189
| Author |
vinay.sajip |
| Recipients |
brett.cannon, donovick, paul.moore, steve.dower, tim.golden, vinay.sajip, zach.ware |
| Date |
2019-06-21.07:49:52 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1561103393.14.0.283791093348.issue37354@roundup.psfhosted.org> |
| In-reply-to |
|
| Content |
> 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. |
|