Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit edb8cb3

Browse filesBrowse files
committed
BLD Fix build failure on Python 3.4b1 for Windows Windows
As of version 3.4b1 the official CPython distribution for Windows uses Tcl/Tk 8.6.
1 parent b4ed0f9 commit edb8cb3
Copy full SHA for edb8cb3

File tree

Expand file treeCollapse file tree

1 file changed

+6
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-2
lines changed

‎setupext.py

Copy file name to clipboardExpand all lines: setupext.py
+6-2Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1329,8 +1329,12 @@ def hardcoded_tcl_config(self):
13291329
def add_flags(self, ext):
13301330
if sys.platform == 'win32':
13311331
major, minor1, minor2, s, tmp = sys.version_info
1332-
ext.include_dirs.extend(['win32_static/include/tcl85'])
1333-
ext.libraries.extend(['tk85', 'tcl85'])
1332+
if sys.version_info[0:2] < (3, 4):
1333+
ext.include_dirs.extend(['win32_static/include/tcl85'])
1334+
ext.libraries.extend(['tk85', 'tcl85'])
1335+
else:
1336+
ext.include_dirs.extend(['win32_static/include/tcl86'])
1337+
ext.libraries.extend(['tk86t', 'tcl86t'])
13341338
ext.library_dirs.extend([os.path.join(sys.prefix, 'dlls')])
13351339

13361340
elif sys.platform == 'darwin':

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.