summaryrefslogtreecommitdiff
path: root/igor.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2015-09-10 05:26:23 -0400
committerNed Batchelder <ned@nedbatchelder.com>2015-09-10 05:26:23 -0400
commit73807abbabfde4483cc8364367b0df709ffb53fb (patch)
treedf669778aa1792eae6fbf88c00d0dd1d559b4593 /igor.py
parent1abf8b37112fa37cd2a7962c48f39a0e4aede9ab (diff)
downloadpython-coveragepy-73807abbabfde4483cc8364367b0df709ffb53fb.tar.gz
Some diagnostics to figure out what's up with Appveyor 64-bit builds.
Diffstat (limited to 'igor.py')
-rw-r--r--igor.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index f9c7ad9..5989c11 100644
--- a/igor.py
+++ b/igor.py
@@ -38,6 +38,13 @@ def ignore_warnings():
# by "python igor.py blah".
+def do_show_env():
+ """Show the environment variables."""
+ print("Environment:")
+ for env in sorted(os.environ):
+ print(" %s = %r" % (env, os.environ[env]))
+
+
def do_remove_extension():
"""Remove the compiled C extension, no matter what its name."""