Skip to content

Commit

Permalink
python-setup: Make debug printing more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
Rasmus Wriedt Larsen committed Jan 13, 2023
1 parent 2649b66 commit 2f6d174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-setup/find_site_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f6d174

Please sign in to comment.