diff --git a/wrappers/python/scripts/build/api_package.py b/wrappers/python/scripts/build/api_package.py index b9b22283..a68ba935 100644 --- a/wrappers/python/scripts/build/api_package.py +++ b/wrappers/python/scripts/build/api_package.py @@ -17,6 +17,7 @@ cli.add_argument("--tag", required=True, help="The version to build.") log = logging.getLogger(__name__) + def main() -> None: setup_logging() args = cli.parse_args() diff --git a/wrappers/python/scripts/build/versioning.py b/wrappers/python/scripts/build/versioning.py index efb19b63..b0426bb8 100644 --- a/wrappers/python/scripts/build/versioning.py +++ b/wrappers/python/scripts/build/versioning.py @@ -1,5 +1,6 @@ import re + def process_tag(tag: str) -> str: """Convert a git tag to a version string compliant with PEP 440. See https://peps.python.org/pep-0440/#public-version-identifiers