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.get_config_var('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.get_config_var('LINKFORSHARED')
'-u _PyMac_Error
/System/Library/Frameworks/Python.framework/Versions/2.7/Python'
This seems like a bug, no?
Thanks for the help,
Jordan
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com