aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/_distutils/debug.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-07-03 05:18:23 -0400
committerGitHub <noreply@github.com>2020-07-03 05:18:23 -0400
commit213baae85f0b9c2640fdf7bf270f6b210f119c54 (patch)
treefb743ec8d5b76f6bec0d3b0660887c03e43e974d /setuptools/_distutils/debug.py
parent78928efa890109410b315b03a225c9fc5f041ff8 (diff)
parentca0065fb62c1728cb42b86ae79375533856d2248 (diff)
downloadexternal_python_setuptools-213baae85f0b9c2640fdf7bf270f6b210f119c54.tar.gz
external_python_setuptools-213baae85f0b9c2640fdf7bf270f6b210f119c54.tar.bz2
external_python_setuptools-213baae85f0b9c2640fdf7bf270f6b210f119c54.zip
Merge pull request #2143 from pypa/distutils
Adopt 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')