aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/_distutils/debug.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-07-03 05:05:29 -0400
committerGitHub <noreply@github.com>2020-07-03 05:05:29 -0400
commit2daf7f68fee8d5b62ee067143aa5bf1ece66c331 (patch)
tree4057aeefb3d919e8af7b4d9a8ccde3dde3fe8046 /setuptools/_distutils/debug.py
parentc486771a15642d69622b9afeb9178450daf02e24 (diff)
parent97192962e89a24a02effd1f7a541108335517253 (diff)
downloadexternal_python_setuptools-2daf7f68fee8d5b62ee067143aa5bf1ece66c331.tar.gz
external_python_setuptools-2daf7f68fee8d5b62ee067143aa5bf1ece66c331.tar.bz2
external_python_setuptools-2daf7f68fee8d5b62ee067143aa5bf1ece66c331.zip
Merge pull request #2226 from pypa/distutils-nested
Move distutils to setuptools._distutils
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')