conda_recipe_manager.scanner.dependency.pyproject_dep_scanner

Description:

Reads dependencies from a pyproject.toml file.

Classes

PyProjectDependencyScanner(src_dir[, ...])

Dependency Scanner class capable of scanning pyproject.toml files.

class conda_recipe_manager.scanner.dependency.pyproject_dep_scanner.PyProjectDependencyScanner(src_dir: Path | str, project_file_name: str = 'pyproject.toml')[source]

Bases: BaseDependencyScanner

Dependency Scanner class capable of scanning pyproject.toml files.

get_message_table() MessageTable

Returns the internal message table.

Returns:

Message table object containing logged messages.

scan() set[ProjectDependency][source]

Actively scans a project for dependencies. Implementation is dependent on the type of scanner used.

Returns:

A set of unique dependencies found by the scanner, if any are found.