Steve Dower added the comment:

I could reuse the venv config file but it would need a new property to forcibly 
use the 'home' value regardless of whether '$home\Lib\os.py' exists (in case 
the stdlib is zipped) and to make it relative to the file's path rather than 
the user's current directory.

How about adding an 'applocal=True' property to pyvenv.cfg that basically 
implies -I, PYTHONHOME=os.dirname(pyvenv_cfg), and skips the registry lookup on 
Windows completely (which there's currently no way to achieve)?

----------

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

Reply via email to