diff options
author | David Cournapeau <cournape@gmail.com> | 2008-01-26 06:53:45 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2008-01-26 06:53:45 +0000 |
commit | 2f3f1a8ef977fd04fc40d12ffd05903eb88c8635 (patch) | |
tree | 6823c236f5d9e4bd32e3f902857d27c6c417c577 | |
parent | ea5fb6f2eecde212e8ebb2524a2f1d0653f6dfdb (diff) | |
download | numpy-2f3f1a8ef977fd04fc40d12ffd05903eb88c8635.tar.gz |
Import numpy.distutils before distutils, to let numpy.distutils do its monkey patching correctly
-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 |