[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-03-04 Thread Ned Deily
Changes by Ned Deily : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-03-04 Thread Ned Deily
Ned Deily added the comment: Other than the tabs, the patch LGTM. I originally noticed the problem when addressing Issue14197, a Python 3 only issue, and fixed it there. But I did not go back and check that the python-config part was also an issue for 2.7. Now committed for release in 2.7.4.

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-03-04 Thread Roundup Robot
Roundup Robot added the comment: New changeset bab708624dc4 by Ned Deily in branch '2.7': Issue #16848: python-config now returns proper --ldflags values for OS X http://hg.python.org/cpython/rev/bab708624dc4 -- nosy: +python-dev ___ Python tracker <

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-02-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: With framework build from yesterday this is not fixed for python 2.7, it prints: -L/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config -ldl -framework CoreFoundation -lpython2.7 -u _PyMac_Error Python.framework/Versions/2.7/Python The bit

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-02-27 Thread Andrew Jaffe
Andrew Jaffe added the comment: Will this be fixed? I note that the related LINKFORSHARED bug (which causes this, I think) is marked as resolved. -- nosy: +Andrew.Jaffe ___ Python tracker _

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-01-04 Thread Ed Campbell
Changes by Ed Campbell : -- nosy: +esc24 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-01-03 Thread Samuel John
Samuel John added the comment: Agreed. My patch, I did for Homebrew is to use the full path like so: PYTHONFRAMEWORKDIR= full/path/to/Frameworks/Python.framework instead of just `Python.framework`. -- ___ Python tracker

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-01-03 Thread Ronald Oussoren
Ronald Oussoren added the comment: Using '-framework Python' is suboptimal because this doesn't control which framework is used for linking (in particular, if you have both Python 2.7 and 3.3 installed '-framework Python' will link against the one installed last). For Python 3.3 I get: $ /Lib

[issue16848] Mac OS X: python-config --ldflags and location of Python.framework

2013-01-03 Thread Samuel John
New submission from Samuel John: Some tools use `python-config --ldflags` to get the flags in order to link against the Python lib on OS X (for example gst-python from pygtk (2.x). For framework builds, `python-config --ldflags` returns (among few other): -u _PyMac_Error Python.framework/V