def get_module_names(package_dir=None, should_include=None):
 if (package_dir is None):
  package_dir = PACKAGE_DIR
 if (should_include is None):
  should_include = (lambda path: True)
 paths = _find_files(package_dir, should_include)
 names = _make_module_names(package_dir, paths)
 names.sort()
 return names

def get_module_names ( package_dir = None , should_include = None ) : if ( package_dir is None ) : package_dir = PACKAGE_DIR if ( should_include is None ) : should_include = ( lambda path : True ) paths = _find_files ( package_dir , should_include ) names = _make_module_names ( package_dir , paths ) names . sort ( ) return names
returns a dictionary with name parts as keys and their call paths as values .