tlcconfig.version¶

Version information for the 3lc package. Overwritten at build time with literals by extract_pyproject_meta.py.

Module Contents¶

Functions¶

Function

Description

get_git_revision

Return the current git revision of the repo root, or "unknown".

get_package_name

Return the project name declared in pyproject.toml.

get_version

Return the installed version of 3lc, falling back to pyproject.toml.

get_version_from_pyproject

Return the version declared in pyproject.toml, or "0.0.0".

API¶

get_git_revision() str¶

Return the current git revision of the repo root, or "unknown".

get_package_name() str¶

Return the project name declared in pyproject.toml.

get_version() str¶

Return the installed version of 3lc, falling back to pyproject.toml.

get_version_from_pyproject() str¶

Return the version declared in pyproject.toml, or "0.0.0".