Skip to content

Commit 983c967

Browse files
committed
Add debug prints to inspect repository_ctx.os.environ in local_python_configure
1 parent 94b660c commit 983c967

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

third_party/python_configure.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,8 @@ def _raw_exec(repository_ctx, cmdline):
205205
Returns:
206206
The 'exec_result' of repository_ctx.execute().
207207
"""
208+
print("DEBUG: _raw_exec environment keys: %s" % repository_ctx.os.environ.keys())
209+
print("DEBUG: _raw_exec PYTHONPATH: %s" % repository_ctx.os.environ.get("PYTHONPATH"))
208210
env = {}
209211
for k in ["PYTHONPATH", "PYTHON_BIN_PATH", "PYTHON_LIB_PATH"]:
210212
if k in repository_ctx.os.environ:

0 commit comments

Comments
 (0)