Metadata (PEP 621) partis.pyproj.pkginfo#
PkgInfo#
- class PkgInfo(project, root=None)[source]#
Bases:
object- __init__(project, root=None)[source]#
Internal container for normalizing metadata as defined in PEP 621 and
- Parameters:
project¶ (dict) – The project meta-data as defined in ‘pyproject.toml’. May be the parsed [project] table from a ‘pyproject.toml’ file located in the ‘root’ directory.
root¶ (None | str | pathlib.Path) – Path to the root project directory that would contain ‘pyproject.toml’. This is used to resolve file paths defined in the project metatada. If there are no files referenced, then this value has no effect.
- property requires_dist#
Computes total list of install requirements
- property provides_extra#
Provided extras