summaryrefslogtreecommitdiff
path: root/lib/python2.7/distutils/debug.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python2.7/distutils/debug.py')
-rw-r--r--lib/python2.7/distutils/debug.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python2.7/distutils/debug.py b/lib/python2.7/distutils/debug.py
new file mode 100644
index 0000000..2886744
--- /dev/null
+++ b/lib/python2.7/distutils/debug.py
@@ -0,0 +1,7 @@
+import os
+
+__revision__ = "$Id$"
+
+# If DISTUTILS_DEBUG is anything other than the empty string, we run in
+# debug mode.
+DEBUG = os.environ.get('DISTUTILS_DEBUG')