From 2f6d17472d1d16ec18bd6ca923082f922169b4ee Mon Sep 17 00:00:00 2001 From: Rasmus Wriedt Larsen <rasmuswl@github.com> Date: Fri, 13 Jan 2023 11:24:02 +0100 Subject: [PATCH] python-setup: Make debug printing more obvious --- python-setup/find_site_packages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-setup/find_site_packages.py b/python-setup/find_site_packages.py index 5be6bc6ce..d894d088e 100644 --- a/python-setup/find_site_packages.py +++ b/python-setup/find_site_packages.py @@ -9,7 +9,7 @@ print(os.path.dirname(os.path.dirname(pip.__file__))) except ImportError: import sys - print("could not import pip", file=sys.stderr) + print("DEBUG: could not import pip", file=sys.stderr) # if you use poetry with `virtualenvs.options.no-pip = true` you might end up with a # virtualenv without pip, so the above trick doesn't actually work. See # https://python-poetry.org/docs/configuration/#virtualenvsoptionsno-pip