(original) (raw)
If you could, Jordan, please file a bug at bugs.python.org so the discussion can happen there and be tracked better.
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
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/brett%40python.org