Skip to content

Commit 7b90c8a

Browse files
committed
close 3009264; allow windows build on python 2.7; thanks to Christoph Gohlke
svn path=/trunk/matplotlib/; revision=8346
1 parent 474fc3e commit 7b90c8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setupext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ def add_tk_flags(module):
997997
message = None
998998
if sys.platform == 'win32':
999999
major, minor1, minor2, s, tmp = sys.version_info
1000-
if major == 2 and minor1 == 6:
1000+
if major == 2 and minor1 in [6, 7]:
10011001
module.include_dirs.extend(['win32_static/include/tcl85'])
10021002
module.libraries.extend(['tk85', 'tcl85'])
10031003
elif major == 2 and minor1 in [3, 4, 5]:

0 commit comments

Comments
 (0)