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