summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils/core.py')
-rw-r--r--Lib/distutils/core.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Lib/distutils/core.py b/Lib/distutils/core.py
index 8a348ce..9a6bff6 100644
--- a/Lib/distutils/core.py
+++ b/Lib/distutils/core.py
@@ -13,10 +13,7 @@ __revision__ = "$Id$"
import sys, os
from types import *
-# If DISTUTILS_DEBUG is anything other than the empty string, we run in
-# debug mode.
-DEBUG = os.environ.get('DISTUTILS_DEBUG')
-
+from distutils.debug import DEBUG
from distutils.errors import *
from distutils.util import grok_environment_error
@@ -25,7 +22,6 @@ from distutils.dist import Distribution
from distutils.cmd import Command
from distutils.extension import Extension
-
# This is a barebones help message generated displayed when the user
# runs the setup script with no arguments at all. More useful help
# is generated with various --help options: global help, list commands,