summaryrefslogtreecommitdiff
path: root/setuptools/_distutils/debug.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-07-03 03:53:46 -0400
committerJason R. Coombs <jaraco@jaraco.com>2020-07-03 04:13:14 -0400
commitbb9fb1fcfe37c1ef1e29e1e6d1fc4e483c743380 (patch)
tree053ee5d48b9f73587e8b8d30334ae1d0b581518d /setuptools/_distutils/debug.py
parentc486771a15642d69622b9afeb9178450daf02e24 (diff)
downloadpython-setuptools-git-bb9fb1fcfe37c1ef1e29e1e6d1fc4e483c743380.tar.gz
Move distutils into a submodule of setuptools.
Diffstat (limited to 'setuptools/_distutils/debug.py')
-rw-r--r--setuptools/_distutils/debug.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/setuptools/_distutils/debug.py b/setuptools/_distutils/debug.py
new file mode 100644
index 00000000..daf1660f
--- /dev/null
+++ b/setuptools/_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')