[New-bugs-announce] [issue4813] On OS-X the directories searched by setup.py for Tk are in the wrong order.

Mitchell Model report at bugs.python.org
Sat Jan 3 00:50:06 CET 2009


New submission from Mitchell Model <mlm at acm.org>:

In function detect_tkinter_darwin of setup.py framework_dirs should be 
the reverse of what it is: first the user's library should be searched, 
then /Library, and finally /System/Library.  If Tk 8.5 is installed in 
/Library or ~/Library make will otherwise find the headers from 8.4 but 
the libraries from 8.5.

Issue 4017 discusses this problem, among others, and is marked fixed, 
but it is still incorrect in the 2.6 and 3.0 downloads as well as in the 
trunk, 3.0, and 3.1 subversion repositories.  It may have been "fixed" 
in so far as someone was able to make a .dmg by manually altering 
setup.py, and that's great, but it isn't fixed in the source and the 
problem will reappear with each new version.

----------
components: Build
messages: 78904
nosy: MLModel
severity: normal
status: open
title: On OS-X the directories searched by setup.py for Tk are in the wrong order.
type: compile error
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4813>
_______________________________________


More information about the New-bugs-announce mailing list