summaryrefslogtreecommitdiff
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
commit0f3abb10625f3a1250991d06e3f26cfa324d4dcf (patch)
tree166ee93707f8186bcab927414a7114e95a16a6a9
parentcf80ecbb8f7756503431d5a3e08185a34a48df3e (diff)
downloadpython-coveragepy-git-0f3abb10625f3a1250991d06e3f26cfa324d4dcf.tar.gz
Some diagnostics to figure out what's up with Appveyor 64-bit builds.
-rw-r--r--igor.py7
-rw-r--r--tox.ini2
2 files changed, 9 insertions, 0 deletions
diff --git a/igor.py b/igor.py
index f9c7ad92..5989c11b 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."""
diff --git a/tox.ini b/tox.ini
index 9053db1a..4b5e75b8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,6 +7,8 @@ skip_missing_interpreters = True
[testenv]
commands =
+ python -c "import sys; print(sys.executable)"
+ python igor.py show_env
python setup.py --quiet clean develop
# Create tests/zipmods.zip