Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dec007d

Browse files
committed
Added a default tk_framework_found=0 to the Mac setup to prevent
access to undefined var when the framework is not found. svn path=/trunk/matplotlib/; revision=582
1 parent cfecff2 commit dec007d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

setupext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ def add_tk_flags(module):
260260
# Find the directory that contains the Tcl.framwork and Tk.framework
261261
# bundles.
262262
# XXX distutils should support -F!
263+
tk_framework_found = 0
263264
for F in framework_dirs:
264265
# both Tcl.framework and Tk.framework should be present
265266
for fw in 'Tcl', 'Tk':

0 commit comments

Comments
 (0)