From: Jeremy Hylton Date: Wed, 11 Sep 2002 16:28:52 +0000 (+0000) Subject: Define DEBUG in a separate module to resolve circular references. X-Git-Tag: v2.3c1~4132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f6228ed461987709c75dd3ebd253beb412ed457;p=thirdparty%2FPython%2Fcpython.git Define DEBUG in a separate module to resolve circular references. --- diff --git a/Lib/distutils/debug.py b/Lib/distutils/debug.py new file mode 100644 index 000000000000..7ca76d6c5c66 --- /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') +