def find_dlls(self, extensions):
        dlls = [item.__file__ for item in extensions]
##        extra_path = ["."] # XXX
        extra_path = []
        dlls, unfriendly_dlls, other_depends = \
              self.find_dependend_dlls(dlls,
                                       extra_path + sys.path,
                                       self.dll_excludes)
        self.other_depends = other_depends
        # dlls contains the path names of all dlls we need.
        # If a dll uses a function PyImport_ImportModule (or what was it?),
        # it's name is additionally in unfriendly_dlls.
        for item in extensions:
            if item.__file__ in dlls:
                dlls.remove(item.__file__)
        return dlls
dataset/ETHPy150Open fogleman/FeedNotifier/patch/build_exe.py/py2exe.find_dlls/original