def _getPythonRequiresModuleFinder(self, pythonPath, destdir, libdir, sysPath, bootstrapPython):

        if self.recipe.isCrossCompiling():
            return None
        if pythonPath not in self.pythonModuleFinderMap:
            try:
                self.pythonModuleFinderMap[pythonPath] = pydeps.moduleFinderProxy(pythonPath, destdir, libdir, sysPath, self.error)
            except pydeps.ModuleFinderInitializationError, e:
                if bootstrapPython:
                    # another case, like isCrossCompiling, where we cannot
                    # run pythonPath -- ModuleFinderInitializationError
                    # is raised before looking at any path, so should
                    # be consistent for any pythonPath
                    self.pythonModuleFinderMap[pythonPath] = None
                else:
                    raise
        return self.pythonModuleFinderMap[pythonPath]