]> granicus.if.org Git - python/commitdiff
Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
authorGuilherme Polo <ggpolo@gmail.com>
Sun, 16 Aug 2009 14:34:26 +0000 (14:34 +0000)
committerGuilherme Polo <ggpolo@gmail.com>
Sun, 16 Aug 2009 14:34:26 +0000 (14:34 +0000)
Misc/NEWS
setup.py

index 04e28da16bbcafc767752613d1c18a2f287a6c5f..a0646c992fcb929e44e1a4bb13f63d4af4e6686e 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -2458,6 +2458,8 @@ Tests
 Build
 -----
 
+- Issue #6244: Allow detect_tkinter to look for Tcl/Tk 8.6.
+
 - Issue #1496032: On alpha, use -mieee when gcc is the compiler.
 
 - Issue #2544: On HP-UX systems, use 'gcc -shared' for linking when
index fe859d068cb12a97e3f64f81de711ffcf203688a..421271edca3cc9489fa30e952567a6cea5e45352 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1539,8 +1539,8 @@ class PyBuildExt(build_ext):
         # The versions with dots are used on Unix, and the versions without
         # dots on Windows, for detection by cygwin.
         tcllib = tklib = tcl_includes = tk_includes = None
-        for version in ['8.5', '85', '8.4', '84', '8.3', '83', '8.2',
-                        '82', '8.1', '81', '8.0', '80']:
+        for version in ['8.6', '86', '8.5', '85', '8.4', '84', '8.3', '83',
+                        '8.2', '82', '8.1', '81', '8.0', '80']:
             tklib = self.compiler_obj.find_library_file(lib_dirs,
                                                         'tk' + version)
             tcllib = self.compiler_obj.find_library_file(lib_dirs,