This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add path expansion interpolation in pyvenv.cfg home key
Type: enhancement Stage:
Components: Interpreter Core Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: chnlior
Priority: normal Keywords:

Created on 2018-08-26 11:00 by chnlior, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg324116 - (view) Author: Lior Cohen (chnlior) Date: 2018-08-26 11:00
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.
History
Date User Action Args
2022-04-11 14:59:05adminsetgithub: 78688
2018-08-26 11:00:21chnliorcreate