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

Skip to content

Commit b1d1969

Browse files
committed
Remove Tix detection from Tkinter part; lib-tk/Tix attempts to load Tix
by requiring it. Also remove commentary from Setup.dist about commenting in and out stuff.
1 parent b21cb5f commit b1d1969

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

setup.py

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -504,16 +504,7 @@ def detect_modules(self):
504504

505505
def detect_tkinter(self, inc_dirs, lib_dirs):
506506
# The _tkinter module.
507-
#
508-
# The command for _tkinter is long and site specific. Please
509-
# uncomment and/or edit those parts as indicated. If you don't have a
510-
# specific extension (e.g. Tix or BLT), leave the corresponding line
511-
# commented out. (Leave the trailing backslashes in! If you
512-
# experience strange errors, you may want to join all uncommented
513-
# lines and remove the backslashes -- the backslash interpretation is
514-
# done by the shell's "read" command and it may not be implemented on
515-
# every system.
516-
507+
517508
# Assume we haven't found any of the libraries or include files
518509
tcllib = tklib = tcl_includes = tk_includes = None
519510
for version in ['8.4', '8.3', '8.2', '8.1', '8.0']:
@@ -562,11 +553,6 @@ def detect_tkinter(self, inc_dirs, lib_dirs):
562553
include_dirs.append('/usr/X11/include')
563554
added_lib_dirs.append('/usr/X11/lib')
564555

565-
# Check for Tix extension
566-
if self.compiler.find_library_file(lib_dirs + added_lib_dirs, 'tix4.1.8.0'):
567-
defs.append( ('WITH_TIX', 1) )
568-
libs.append('tix4.1.8.0')
569-
570556
# Check for BLT extension
571557
if self.compiler.find_library_file(lib_dirs + added_lib_dirs, 'BLT8.0'):
572558
defs.append( ('WITH_BLT', 1) )

0 commit comments

Comments
 (0)