diff options
Diffstat (limited to 'setupscons.py')
-rwxr-xr-x | setupscons.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setupscons.py b/setupscons.py index 25e9f08c6..802f4f907 100755 --- a/setupscons.py +++ b/setupscons.py @@ -44,6 +44,9 @@ if os.path.exists('MANIFEST'): os.remove('MANIFEST') # a lot more robust than what was previously being used. __builtin__.__NUMPY_SETUP__ = True +# DO NOT REMOVE numpy.distutils IMPORT ! This is necessary for numpy.distutils' +# monkey patching to work. +import numpy.distutils from distutils.errors import DistutilsError try: import numscons |