If you could, Jordan, please file a bug at <a href="http://bugs.python.org">bugs.python.org</a> so the discussion can happen there and be tracked better.<br><br><div class="gmail_quote">On Wed, Mar 28, 2012 at 03:06, Jordan Schneider <span dir="ltr">&lt;<a href="mailto:jbschne@umich.edu">jbschne@umich.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi python-dev,<br>
<br>
Sorry if this is the wrong place to discuss this potential bug - feel free to point me in the right direction if so.<br>
<br>
I&#39;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.<br>
<br>
While running a configure script, distutils.sysconfig.get_config_var is not returing a full path for my homebrew Python framework, like so:<br>
<br>
Python 2.7.2 (default, Mar 28 2012, 02:31:16)<br>
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)] on darwin<br>
&gt;&gt;&gt; distutils.sysconfig.get_config_var(&#39;LINKFORSHARED&#39;)<br>
&#39;-u _PyMac_Error Python.framework/Versions/2.7/Python&#39;<br>
<br>
(the full path should be /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/2.7/Python)<br>
<br>
<br>
Whereas from the system python in /usr/bin:<br>
<br>
Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)<br>
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin<br>
&gt;&gt;&gt; distutils.sysconfig.get_config_var(&#39;LINKFORSHARED&#39;)<br>
&#39;-u _PyMac_Error /System/Library/Frameworks/Python.framework/Versions/2.7/Python&#39;<br>
<br>
This seems like a bug, no?<br>
<br>
Thanks for the help,<br>
Jordan<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/brett%40python.org" target="_blank">http://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</blockquote></div><br>