[issue34507] Add path expansion interpolation in pyvenv.cfg home key

Lior Cohen 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
messages: 324116
nosy: chnlior
priority: normal
severity: normal
status: open
title: Add path expansion interpolation in pyvenv.cfg home key
type: enhancement
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34507>
_______________________________________


More information about the Python-bugs-list mailing list