def parse_mf_results(self, mf):
        for name, imports in self.get_hidden_imports().items():
            if name in mf.modules.keys():
                for mod in imports:
                    mf.import_hook(mod)

        tcl_src_dir = tcl_dst_dir = None
        if "Tkinter" == mf.modules.keys():
            import Tkinter
            import _tkinter
            tk = _tkinter.create()
            tcl_dir = tk.call("info", "library")
            tcl_src_dir = os.path.split(tcl_dir)[0]
            tcl_dst_dir = os.path.join(self.lib_dir, "tcl")

            self.announce("Copying TCL files from %s..." % tcl_src_dir)
            self.copy_tree(os.path.join(tcl_src_dir, "tcl%s" % _tkinter.TCL_VERSION),
                           os.path.join(tcl_dst_dir, "tcl%s" % _tkinter.TCL_VERSION))
            self.copy_tree(os.path.join(tcl_src_dir, "tk%s" % _tkinter.TK_VERSION),
                           os.path.join(tcl_dst_dir, "tk%s" % _tkinter.TK_VERSION))
            del tk, _tkinter, Tkinter

        # Retrieve modules from modulefinder
        py_files = []
        extensions = []
        builtins = []

        for item in mf.modules.values():
            # There may be __main__ modules (from mf.run_script), but
            # we don't need them in the zipfile we build.
            if item.__name__ == "__main__":
                continue
            if self.bundle_files < 3 and item.__name__ in ("pythoncom", "pywintypes"):
                # these are handled specially in zipextimporter.
                continue
            src = item.__file__
            if src:
                base, ext = os.path.splitext(src)
                suffix = ext
                if sys.platform.startswith("win") and ext in [".dll", ".pyd"] \
                   and base.endswith("_d"):
                    suffix = "_d" + ext

                if suffix in _py_suffixes:
                    py_files.append(item)
                elif suffix in _c_suffixes:
                    extensions.append(item)
                    if not self.bundle_files < 3:
                        loader = self.create_loader(item)
                        if loader:
                            py_files.append(loader)
                else:
                    raise RuntimeError \
                          ("Don't know how to handle '%s'" % repr(src))
            else:
                builtins.append(item.__name__)

        # sort on the file names, the output is nicer to read
        py_files.sort(lambda a, b: cmp(a.__file__, b.__file__))
        extensions.sort(lambda a, b: cmp(a.__file__, b.__file__))
        builtins.sort()
        return py_files, extensions, builtins
dataset/ETHPy150Open fogleman/FeedNotifier/patch/build_exe.py/py2exe.parse_mf_results/operator `in` -> `==`