[New-bugs-announce] [issue34507] Add path expansion interpolation in pyvenv.cfg home key
report at bugs.python.org
Sun Aug 26 07:00:22 EDT 2018
New submission from Lior Cohen <chnlior at gmail.com>:
When working with venv virtual environment, python.exe finds its base_prefix and base_exec_prefix by the home key in the pyvenv.cfg file.
If one edits this file with $xyz (or %xyz% in windows), it is not not resolved.
The reason of replacing the absolute path generated by venv to path expand tokens, is to be able to port the venv + its base python to different machine, which is part of my company deployment process.
components: Interpreter Core
title: Add path expansion interpolation in pyvenv.cfg home key
versions: Python 3.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce