From e35032ab8c50e6927459430a868b2adc1fc72bcc Mon Sep 17 00:00:00 2001 From: dyl_m Date: Sun, 18 Aug 2024 02:56:45 +0200 Subject: [PATCH] chore(setup): print version before returning it. --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 64167eb..a1aef16 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,8 @@ def get_version_from_git(): raise EnvironmentError("Git is not installed or not found in PATH.") try: - version = subprocess.check_output([git_path, "describe", "--tags"]).strip().decode("utf-8") + version = subprocess.check_output([git_path, 'describe', '--tags']).strip().decode('utf-8') + print(f"Version: {version}") return version except subprocess.CalledProcessError as error: