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.

Author tarek
Recipients barry, eric.araujo, georg.brandl, ned.deily, pitrou, srid, tarek
Date 2010-12-23.11:58:21
SpamBayes Score 5.161741e-06
Marked as misclassified No
Message-id <1293105503.01.0.721102449453.issue10743@psf.upfronthosting.co.za>
In-reply-to
Content
I have investigated the problem and it turns out virtualenv patches distutils.sysconfig behavior by adding to the sys module a "real_prefix" attribute that points to the global Python install and is used instead of sys.prefix that points to the virtualenv local install, when some distutils.sysconfig APIs are used.

The fix is to change virtualenv so it patches sysconfig the same way it does for distutils.sysconfig.

To simulate this patch, just change how _EXEC_PREFIX and _PREFIX are set in sysconfig, by setting them to sys.real_prefix instead of sys.prefix/sys.exec_prefix when using virtualenv. 

I suggest to Georg that this bug gets resolved to "invalid" and that we move it to the virtualenv bitbucket tracker.
History
Date User Action Args
2010-12-23 11:58:23tareksetrecipients: + tarek, barry, georg.brandl, pitrou, ned.deily, eric.araujo, srid
2010-12-23 11:58:23tareksetmessageid: <1293105503.01.0.721102449453.issue10743@psf.upfronthosting.co.za>
2010-12-23 11:58:21tareklinkissue10743 messages
2010-12-23 11:58:21tarekcreate