remove outstanding print statements
This commit is contained in:
parent
89b008cca8
commit
8c23374f67
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "pycage"
|
name = "pycage"
|
||||||
version = "0.2.3"
|
version = "0.2.4dev1"
|
||||||
description = "tool to handle standalone Python installations from the CLI"
|
description = "tool to handle standalone Python installations from the CLI"
|
||||||
authors = [
|
authors = [
|
||||||
{name = "Florian Förster", email = "f.foerster@d-opt.com"},
|
{name = "Florian Förster", email = "f.foerster@d-opt.com"},
|
||||||
@ -78,7 +78,7 @@ directory = "reports/coverage"
|
|||||||
|
|
||||||
|
|
||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "0.2.3"
|
current_version = "0.2.4dev1"
|
||||||
parse = """(?x)
|
parse = """(?x)
|
||||||
(?P<major>0|[1-9]\\d*)\\.
|
(?P<major>0|[1-9]\\d*)\\.
|
||||||
(?P<minor>0|[1-9]\\d*)\\.
|
(?P<minor>0|[1-9]\\d*)\\.
|
||||||
|
|||||||
@ -60,7 +60,7 @@ def get_metadata(
|
|||||||
route = f"{release_tag}/{target_build}"
|
route = f"{release_tag}/{target_build}"
|
||||||
target_url = combine_route(asset_url, route)
|
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)
|
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)
|
load_file_from_url(url=retrieval_info.url, file_save_path=src_file)
|
||||||
delete_folder_recursively(target_folder)
|
delete_folder_recursively(target_folder)
|
||||||
extract_archive(src_file, folder_extract)
|
extract_archive(src_file, folder_extract)
|
||||||
print("Download and extraction successfully.")
|
click.echo("Download and extraction successfully.")
|
||||||
elif force_reextract:
|
elif force_reextract:
|
||||||
click.echo("File already downloaded. Re-extract file...")
|
click.echo("File already downloaded. Re-extract file...")
|
||||||
delete_folder_recursively(target_folder)
|
delete_folder_recursively(target_folder)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user