projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
504bc4f
)
Define DEBUG in a separate module to resolve circular references.
author
Jeremy Hylton
<jeremy@alum.mit.edu>
Wed, 11 Sep 2002 16:28:52 +0000
(16:28 +0000)
committer
Jeremy Hylton
<jeremy@alum.mit.edu>
Wed, 11 Sep 2002 16:28:52 +0000
(16:28 +0000)
Lib/distutils/debug.py
[new file with mode: 0644]
patch
|
blob
diff --git a/Lib/distutils/debug.py
b/Lib/distutils/debug.py
new file mode 100644
(file)
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')
+