[issue17732] distutils.cfg Can Break venv

Vinay Sajip report at bugs.python.org
Mon Apr 15 13:16:39 CEST 2013


Vinay Sajip added the comment:

This looks to me as if it will need a patch in distutils. Unlike virtualenv, which contains a patched copy of distutils (and hence allows having a .cfg adjacent to it), pyvenv does not create patched modules in the venv. It does not make sense to change this behaviour.

The correct solution would appear to be for distutils to ignore certain configuration options (install-lib, but also equivalent options for headers and scripts) when running in a venv.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17732>
_______________________________________


More information about the Python-bugs-list mailing list