From e9c512281e9272c66300752bcb4ebdc845725638 Mon Sep 17 00:00:00 2001 From: James Stevenson Date: Fri, 29 Nov 2024 12:31:29 -0500 Subject: [PATCH] might need to spec path --- setup.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py index c4fbf1f..ce3c1f9 100644 --- a/setup.py +++ b/setup.py @@ -17,13 +17,10 @@ def _get_vrs_submodule_info() -> tuple[str, str, int]: commit = subprocess.check_output( ["git", "rev-parse", "HEAD"], cwd=vrs_path, text=True ).strip() - print("hey i'm debugging here") - subprocess.run(["git", "fetch", "--tags"]) - print("hey i'm debugging here") + subprocess.run(["git", "fetch", "--tags"], cwd=vrs_path) tag = subprocess.check_output( ["git", "describe", "--tags", "--abbrev=0"], cwd=vrs_path, text=True ).strip() - print("hey i'm debugging here") distance = subprocess.check_output( ["git", "rev-list", f"{tag}..HEAD", "--count"], cwd=vrs_path,