Skip to content

Commit 2f6d174

Browse files
committed
python-setup: Make debug printing more obvious
1 parent 2649b66 commit 2f6d174

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python-setup/find_site_packages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
print(os.path.dirname(os.path.dirname(pip.__file__)))
1010
except ImportError:
1111
import sys
12-
print("could not import pip", file=sys.stderr)
12+
print("DEBUG: could not import pip", file=sys.stderr)
1313
# if you use poetry with `virtualenvs.options.no-pip = true` you might end up with a
1414
# virtualenv without pip, so the above trick doesn't actually work. See
1515
# https://python-poetry.org/docs/configuration/#virtualenvsoptionsno-pip

0 commit comments

Comments
 (0)