class documentation

class FlatLayoutPackageFinder(PEP420PackageFinder): (source)

View In Hierarchy

Undocumented

Constant DEFAULT_EXCLUDE Reserved package names
Static Method _looks_like_package Does a directory look like a package?
Constant _EXCLUDE Undocumented

Inherited from PackageFinder (via PEP420PackageFinder):

Constant ALWAYS_EXCLUDE Undocumented
Class Method _find_iter All the packages found in 'where' that pass the 'include' filter, but not the 'exclude' filter.

Inherited from _Finder (via PEP420PackageFinder, PackageFinder):

Class Method find Return a list of all Python items (packages or modules, depending on the finder implementation) found within directory 'where'.
DEFAULT_EXCLUDE = (source)

Reserved package names

Value
tuple(chain_iter(((p, f'{p}.*') for p in _EXCLUDE)))
@staticmethod
def _looks_like_package(_path: _Path, package_name: str) -> bool: (source)

Does a directory look like a package?

_EXCLUDE: tuple[str, ...] = (source)

Undocumented

Value
('ci',
 'bin',
 'doc',
 'docs',
 'documentation',
 'manpages',
 'news',
...