diff options
author | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-09-11 16:28:52 (GMT) |
---|---|---|
committer | Jeremy Hylton <jeremy@alum.mit.edu> | 2002-09-11 16:28:52 (GMT) |
commit | 5f6228ed461987709c75dd3ebd253beb412ed457 (patch) | |
tree | e4e6ba4cc1fb256127c0b0cf6bd901ca112f03a7 /Lib/distutils | |
parent | 504bc4f3b7a17299d864e48a2bc7ef62ce1daf2c (diff) | |
download | cpython-5f6228ed461987709c75dd3ebd253beb412ed457.zip cpython-5f6228ed461987709c75dd3ebd253beb412ed457.tar.gz cpython-5f6228ed461987709c75dd3ebd253beb412ed457.tar.bz2 |
Define DEBUG in a separate module to resolve circular references.
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/debug.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/distutils/debug.py b/Lib/distutils/debug.py new file mode 100644 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') + |