mirror of
https://github.com/github/codeql-action.git
synced 2026-10-03 09:14:58 +00:00
python-setup: Make debug printing more obvious
This commit is contained in:
@@ -9,7 +9,7 @@ try:
|
|||||||
print(os.path.dirname(os.path.dirname(pip.__file__)))
|
print(os.path.dirname(os.path.dirname(pip.__file__)))
|
||||||
except ImportError:
|
except ImportError:
|
||||||
import sys
|
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
|
# 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
|
# virtualenv without pip, so the above trick doesn't actually work. See
|
||||||
# https://python-poetry.org/docs/configuration/#virtualenvsoptionsno-pip
|
# https://python-poetry.org/docs/configuration/#virtualenvsoptionsno-pip
|
||||||
|
|||||||
Reference in New Issue
Block a user