import distools instead
@@ -21,7 +21,7 @@ from install.build import PLATFORM_WIN32
try:
# This is to avoid getting numpy imported inside other modules and
# overwritting setuptools compilers
- import numpy # NOQA
+ import numpy.distutils # NOQA
except Exception:
pass
