[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

PyScripter report at bugs.python.org
Thu Oct 17 19:01:08 EDT 2019


PyScripter <pyscripter at gmail.com> added the comment:

To Steve:

I want the embedded venv to have the same sys.path as if you were running the venv python interpreter.  So my method takes into account for instance the include-system-site-packages option in pyvenv.cfg.  Also my method sets sys.prefix in the same way as the venv python interpreter.

----------

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


More information about the Python-bugs-list mailing list