summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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