[issue10743] 3.2's sysconfig doesn't work with virtualenv

2011-02-25 Thread Palm Kevin
Palm Kevin added the comment: @Barry: Yes python runs correctly. The problem arises when you embed python in a C application when calling the Py_SetPath-method (see the follow up issue #11320) -- ___ Python tracker

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2011-02-25 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Feb 25, 2011, at 01:16 PM, Palm Kevin wrote: >I think that this issue needs to be reopened... since it never has been >resolved... I just downloaded the new version of Python 3.2 and tried to >compile, install and use it on Redhat Linux. > >Installation we

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2011-02-25 Thread Palm Kevin
Palm Kevin added the comment: Done: #11320 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2011-02-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le vendredi 25 février 2011 à 13:58 +, Palm Kevin a écrit : > Palm Kevin added the comment: > > Please find here a small C app embedding python that shows how to > reproduce the problem (It turned out that the problem is caused by the > new method "Py_Set

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2011-02-25 Thread Palm Kevin
Palm Kevin added the comment: Please find here a small C app embedding python that shows how to reproduce the problem (It turned out that the problem is caused by the new method "Py_SetPath"): #include "Python.h" main(int argc, char **argv) { Py_SetPath(Py_GetPath()); printf("Init\n");

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2011-02-25 Thread Palm Kevin
Palm Kevin added the comment: I think that this issue needs to be reopened... since it never has been resolved... I just downloaded the new version of Python 3.2 and tried to compile, install and use it on Redhat Linux. Installation went fine (configure with --prefix=/usr/mysoft/python32)...

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-23 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Sounds good, but this doesn't belong to the virtualenv bug tracker (virtualenv does even support Python 3). Instead, it belongs to the virtualenv5 tracker: http://code.google.com/p/virtualenv5/issues/detail?id=6 -- resolution: -> invalid status:

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-23 Thread Tarek Ziadé
Tarek Ziadé added the comment: 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

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-21 Thread Tarek Ziadé
Tarek Ziadé added the comment: Will do tonight -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-21 Thread Georg Brandl
Georg Brandl added the comment: OK, let's make this one. Tarek to the rescue! -- priority: deferred blocker -> release blocker ___ Python tracker ___ __

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: Agreed it should probably be a release blocker. I guess it has to do with (not) following symlinks, right? -- nosy: +pitrou ___ Python tracker ___

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-20 Thread Ned Deily
Ned Deily added the comment: Setting to deferred blocker for 3.2 release manager evaluation. -- nosy: +georg.brandl priority: normal -> deferred blocker ___ Python tracker ___ _

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-20 Thread Ned Deily
Ned Deily added the comment: That does seem to be a regression since distutils.sysconfig works correctly in a virtualenv: $ python3.2 -c 'import distutils.sysconfig;print(distutils.sysconfig.get_makefile_filename())' /Library/Frameworks/Python.framework/Versions/3.2/lib/python3.2/config-3.2m/

[issue10743] 3.2's sysconfig doesn't work with virtualenv

2010-12-20 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar : >From http://code.google.com/p/virtualenv5/issues/detail?id=6 - it seems that >the `sysconfig` module is looking for Makefile in wrong directory, while >ideally it must be looking into the base Python install. >> import sysconfig; sysconfig.get_paths('p