[Python-Dev] possible distutils.sysconfig.get_config_var bug (original) (raw)
Jordan Schneider jbschne at umich.edu
Wed Mar 28 09:06:40 CEST 2012
- Previous message: [Python-Dev] [Python-checkins] peps: Approve PEP 411.
- Next message: [Python-Dev] possible distutils.sysconfig.get_config_var bug
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi python-dev,
Sorry if this is the wrong place to discuss this potential bug - feel free to point me in the right direction if so.
I'm running OS X 10.7.3, and have two python2.7s installed, one system default in /usr/bin and the other by homebrew symlinked in /usr/local/bin.
While running a configure script, distutils.sysconfig.get_config_var is not returing a full path for my homebrew Python framework, like so:
Python 2.7.2 (default, Mar 28 2012, 02:31:16) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)] on darwin
distutils.sysconfig.getconfigvar('LINKFORSHARED') '-u _PyMac_Error Python.framework/Versions/2.7/Python'
(the full path should be /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/Python)
Whereas from the system python in /usr/bin:
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
distutils.sysconfig.getconfigvar('LINKFORSHARED') '-u _PyMac_Error /System/Library/Frameworks/Python.framework/Versions/2.7/Python'
This seems like a bug, no?
Thanks for the help, Jordan
- Previous message: [Python-Dev] [Python-checkins] peps: Approve PEP 411.
- Next message: [Python-Dev] possible distutils.sysconfig.get_config_var bug
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]