summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--numpy/distutils/__init__.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/numpy/distutils/__init__.py b/numpy/distutils/__init__.py
index b4490925e..72f10ba25 100644
--- a/numpy/distutils/__init__.py
+++ b/numpy/distutils/__init__.py
@@ -1,22 +1,6 @@
from __version__ import version as __version__
-# Check that distutils has not been imported before.
-import sys
-if 'distutils' in sys.modules:
- sys.stderr.write('''\
-********************************************************
-WARNING!WARNING!WARNING!WARNING!WARNING!WARNING!WARNING!
-
-distutils has been imported before numpy.distutils
-and now numpy.distutils cannot apply all of its
-customizations to distutils effectively.
-
-To avoid this warning, make sure that numpy.distutils
-is imported *before* distutils.
-********************************************************
-''')
-
# Must import local ccompiler ASAP in order to get
# customized CCompiler.spawn effective.
import ccompiler