Ticket #3422: setup.patch

File setup.patch, 433 bytes (added by nirs@…, 19 years ago)

patch

  • setup.py.

    old new  
    690690        self.extensions.extend(exts)
    691691
    692692        # Call the method for detecting whether _tkinter can be compiled
    693         if ("--disable-tk" not in sysconfig.get_config_var("CONFIG_ARGS")):
     693        if sysconfig.get_config_var("CONFIG_ARGS").find("--disable-tk") == -1:
    694694            self.detect_tkinter(inc_dirs, lib_dirs)
    695695
    696696