From 8c23374f6790f16ed4204abe2cfd8e554066e0f1 Mon Sep 17 00:00:00 2001 From: foefl Date: Thu, 3 Apr 2025 14:49:36 +0200 Subject: [PATCH] remove outstanding print statements --- pyproject.toml | 4 ++-- src/pycage/get.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 090d845..669fd4a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pycage" -version = "0.2.3" +version = "0.2.4dev1" description = "tool to handle standalone Python installations from the CLI" authors = [ {name = "Florian Förster", email = "f.foerster@d-opt.com"}, @@ -78,7 +78,7 @@ directory = "reports/coverage" [tool.bumpversion] -current_version = "0.2.3" +current_version = "0.2.4dev1" parse = """(?x) (?P0|[1-9]\\d*)\\. (?P0|[1-9]\\d*)\\. diff --git a/src/pycage/get.py b/src/pycage/get.py index 94dea6f..2e5517b 100644 --- a/src/pycage/get.py +++ b/src/pycage/get.py @@ -60,7 +60,7 @@ def get_metadata( route = f"{release_tag}/{target_build}" target_url = combine_route(asset_url, route) - print(f"Target build:\t{target_build},\nTarget URL:\t{target_url}") + click.echo(f"Target build:\t{target_build},\nTarget URL:\t{target_url}") return RetrievalInfo(url=target_url, file=target_build) @@ -166,7 +166,7 @@ def get( load_file_from_url(url=retrieval_info.url, file_save_path=src_file) delete_folder_recursively(target_folder) extract_archive(src_file, folder_extract) - print("Download and extraction successfully.") + click.echo("Download and extraction successfully.") elif force_reextract: click.echo("File already downloaded. Re-extract file...") delete_folder_recursively(target_folder)