summaryrefslogtreecommitdiff
path: root/src/python/stdlib/distutils/debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/python/stdlib/distutils/debug.py')
-rw-r--r--src/python/stdlib/distutils/debug.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/python/stdlib/distutils/debug.py b/src/python/stdlib/distutils/debug.py
new file mode 100644
index 0000000..e3c33ea
--- /dev/null
+++ b/src/python/stdlib/distutils/debug.py
@@ -0,0 +1,7 @@
+import os
+
+__revision__ = "$Id: debug.py 68943 2009-01-25 22:09:10Z tarek.ziade $"
+
+# If DISTUTILS_DEBUG is anything other than the empty string, we run in
+# debug mode.
+DEBUG = os.environ.get('DISTUTILS_DEBUG')