dist_files
- dist_files(distribution_name: str) List[PackagePath] [source]
List of PackagePaths even if the package is broken.
This is a convenience function since Distribution.files could be None. I.e. if RECORD for dist-info or SOURCES.txt for egg-info.
See: importlib.metadata.Distribution.files
- Parameters:
distribution_name (str) – The name of the package as a string.
- Returns:
Paths of files used by the package.
- Return type:
List[PackagePath]