parameters: (scripts=(), includes=(), packages=(), excludes=(), path=None, debug=0)
return_statement: return mf
docstring: High-level interface, takes iterables for:
          scripts, includes, packages, excludes
  
      And returns a ModuleGraph instance, python_files, and extensions
  
      python_files is a list of pure python dependencies as modulegraph.Module objects,
      extensions is a list of platform-specific C extension dependencies as modulegraph.Module objects
docstring_summary: High-level interface, takes iterables for:
          scripts, includes, packages, excludes
docstring_tokens: High - level interface takes iterables for : scripts includes packages excludes
function: def find_modules(scripts=(), includes=(), packages=(), excludes=(), path=None, debug=0):
      """
      High-level interface, takes iterables for:
          scripts, includes, packages, excludes
  
      And returns a ModuleGraph instance, python_files, and extensions
  
      python_files is a list of pure python dependencies as modulegraph.Module objects,
      extensions is a list of platform-specific C extension dependencies as modulegraph.Module objects
      """
      scripts = set(scripts)
      includes = set(includes)
      packages = set(packages)
      excludes = set(excludes)
      plat_prepare(includes, packages, excludes)
      mf = modulegraph.ModuleGraph(
          path=path,
          excludes=(excludes - includes),
          implies=get_implies(),
          debug=debug,
      )
      find_needed_modules(mf, scripts, includes, packages)
      return mf
function_tokens: def find_modules ( scripts = ( ) , includes = ( ) , packages = ( ) , excludes = ( ) , path = None , debug = 0 ) : scripts = set ( scripts ) includes = set ( includes ) packages = set ( packages ) excludes = set ( excludes ) plat_prepare ( includes , packages , excludes ) mf = modulegraph . ModuleGraph ( path = path , excludes = ( excludes - includes ) , implies = get_implies ( ) , debug = debug , ) find_needed_modules ( mf , scripts , includes , packages ) return mf