From 5f6228ed461987709c75dd3ebd253beb412ed457 Mon Sep 17 00:00:00 2001 From: Jeremy Hylton Date: Wed, 11 Sep 2002 16:28:52 +0000 Subject: [PATCH] Define DEBUG in a separate module to resolve circular references. --- Lib/distutils/debug.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Lib/distutils/debug.py diff --git a/Lib/distutils/debug.py b/Lib/distutils/debug.py new file mode 100644 index 00000000000..7ca76d6c5c6 --- /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') +