Skip to content
Snippets Groups Projects
Commit 8c5061a7 authored by Travis Seymour's avatar Travis Seymour
Browse files

debugging statements

parent db1c0ecd
No related branches found
No related tags found
No related merge requests found
......@@ -61,8 +61,14 @@ def get_python_path(version):
)
sys.exit(1)
# Debug: Print the output for inspection
print(f"uv python list output:\n{output}")
# Split the output into lines and loop through them
for line in output.strip().splitlines():
# Debug: Print each line being processed
print(f"Processing line: {line}")
if version in line:
# Split the line into parts using 2 or more spaces as a delimiter
parts = re.split(r"\s{2,}", line)
......@@ -70,6 +76,9 @@ def get_python_path(version):
# Extract the full Python path and remove any symbolic link
full_path = parts[-1]
python_path = full_path.split(" -> ")[0]
# Debug: Print the extracted path
print(f"Found Python {version} path: {python_path}")
return python_path
# If no matching Python version is found, complain and exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment