summaryrefslogtreecommitdiff
path: root/numpy/distutils/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/distutils/core.py')
-rw-r--r--numpy/distutils/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/core.py b/numpy/distutils/core.py
index 3a1722179..8310e2a52 100644
--- a/numpy/distutils/core.py
+++ b/numpy/distutils/core.py
@@ -40,7 +40,8 @@ numpy_cmdclass = {'build': build.build,
'bdist_rpm': bdist_rpm.bdist_rpm,
}
if have_setuptools:
- from setuptools.command import bdist_egg, develop, easy_install, egg_info
+ from setuptools.command import bdist_egg, develop, easy_install
+ from numpy.distutils.command import egg_info
numpy_cmdclass['bdist_egg'] = bdist_egg.bdist_egg
numpy_cmdclass['develop'] = develop.develop
numpy_cmdclass['easy_install'] = easy_install.easy_install