vprof/base_profiler.py
def get_pkg_module_names(package_path):
    """Returns module filenames from package.

    Args:
        package_path: Path to Python package.
    Returns:
        A set of module filenames.
    """
    module_names = set()
    for fobj, modname, _ in pkgutil.iter_modules(path=[package_path]):
        filename = os.path.join(fobj.path, '%s.py' % modname)
        if os.path.exists(filename):
            module_names.add(os.path.abspath(filename))
    return module_names
def get_pkg_module_names(package_path):
    module_names = set()
    for fobj, modname, _ in pkgutil.iter_modules(path=[package_path]):
        filename = os.path.join(fobj.path, '%s.py' % modname)
        if os.path.exists(filename):
            module_names.add(os.path.abspath(filename))
    return module_names
def get_pkg_module_names ( package_path ) : module_names = set ( ) for fobj , modname , _ in pkgutil . iter_modules ( path = [ package_path ] ) : filename = os . path . join ( fobj . path , '%s.py' % modname ) if os . path . exists ( filename ) : module_names . add ( os . path . abspath ( filename ) ) return module_names
Returns module filenames from package.

    Args:
        package_path: Path to Python package.
    Returns:
        A set of module filenames.
Returns module filenames from package .