[Python-checkins] r70172 - python/trunk/setup.py
ronald.oussoren
python-checkins at python.org
Wed Mar 4 22:30:13 CET 2009
Author: ronald.oussoren
Date: Wed Mar 4 22:30:12 2009
New Revision: 70172
Log:
Change framework search order when looking for Tcl/Tk on OSX.
This is needed because the system linker looks in /Library/Framework before
it looks in /System/Library frameworks. Without this patch _tkinter will
be unusable when it is compiled on a system that has Tk 8.5 installed in
/Library/Frameworks (and the Apple 8.4 install in /System/Library/Frameworks)
Modified:
python/trunk/setup.py
Modified: python/trunk/setup.py
==============================================================================
--- python/trunk/setup.py (original)
+++ python/trunk/setup.py Wed Mar 4 22:30:12 2009
@@ -1443,8 +1443,8 @@
# different the UNIX search logic is not sharable.
from os.path import join, exists
framework_dirs = [
- '/System/Library/Frameworks/',
'/Library/Frameworks',
+ '/System/Library/Frameworks/',
join(os.getenv('HOME'), '/Library/Frameworks')
]
More information about the Python-checkins
mailing list