aboutsummaryrefslogtreecommitdiffstats
path: root/distutils/debug.py
diff options
context:
space:
mode:
authorxoviat <xoviat@users.noreply.github.com>2017-11-08 16:41:32 -0600
committerJason R. Coombs <jaraco@jaraco.com>2020-05-25 15:57:07 -0400
commitcd7d6d56a1cf84cafea44f7cf7e357a926821f03 (patch)
tree751497929ea17cfab861942590197d2b574d7dfd /distutils/debug.py
parent5210488f65e41038e5721d31792fae784c39d649 (diff)
downloadexternal_python_setuptools-cd7d6d56a1cf84cafea44f7cf7e357a926821f03.tar.gz
external_python_setuptools-cd7d6d56a1cf84cafea44f7cf7e357a926821f03.tar.bz2
external_python_setuptools-cd7d6d56a1cf84cafea44f7cf7e357a926821f03.zip
[maint] move all files into subfolder
Diffstat (limited to 'distutils/debug.py')
-rw-r--r--distutils/debug.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/distutils/debug.py b/distutils/debug.py
new file mode 100644
index 00000000..daf1660f
--- /dev/null
+++ b/distutils/debug.py
@@ -0,0 +1,5 @@
+import os
+
+# If DISTUTILS_DEBUG is anything other than the empty string, we run in
+# debug mode.
+DEBUG = os.environ.get('DISTUTILS_DEBUG')