From 0561ab2d11584120daba7504e3f5b21f154bf664 Mon Sep 17 00:00:00 2001 From: "Silas S. Brown" <ssb22@cam.ac.uk> Date: Sat, 5 Dec 2009 19:41:00 +0000 Subject: [PATCH] Gradint update git-svn-id: http://svn.code.sf.net/p/e-guidedog/code/ssb22/gradint@468 29193198-4895-4776-b068-10539e920549 --- gradint-build/src/system.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gradint-build/src/system.py b/gradint-build/src/system.py index 3ec20e7..cf9481a 100644 --- a/gradint-build/src/system.py +++ b/gradint-build/src/system.py @@ -287,7 +287,7 @@ if winCEsound and __name__=="__main__": Tk_might_display_wrong_hanzi = wrong_hanzi_message = "" if macsound: if sys.version.startswith("2.3.5"): Tk_might_display_wrong_hanzi="10.4" - elif sys.version[:5] == "2.5.1": # 10.5 (do NOT say >= because this bundle will NOT work on Python 2.6 in OS X 10.6) + elif sys.version[:5] == "2.5.1": # 10.5 (do NOT say >= because this bundle will NOT work on Python 2.6 in OS X 10.6; anyway got 1 report that 10.6 works OK as-is.) Tk_might_display_wrong_hanzi="10.5" f="/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload/_tkinter.so" if fileExists(f): # we might be able to patch this one up @@ -298,7 +298,6 @@ if macsound: sys.path.insert(0,os.getcwd()) ; import _tkinter ; del sys.path[0] _tkinter.TK_VERSION = _tkinter.TCL_VERSION = "8.6" Tk_might_display_wrong_hanzi="" - elif sys.version[:5] > "2.5.1": Tk_might_display_wrong_hanzi=">10.5 (not tested)" # TODO Test on OS X 10.6 !!! if Tk_might_display_wrong_hanzi: wrong_hanzi_message = "NB: In Mac OS "+Tk_might_display_wrong_hanzi+", Chinese\ncan display wrongly here." # so they don't panic when it does # Handle keeping progress file and temp directories etc if we're running from a live CD -- GitLab