Skip to content
Browse files

Import numpy.distutils before distutils, to let numpy.distutils do it…

…s monkey patching correctly
  • Loading branch information...
1 parent ea5fb6f commit 2f3f1a8ef977fd04fc40d12ffd05903eb88c8635 @cournape cournape committed Jan 26, 2008
Showing with 3 additions and 0 deletions.
  1. +3 −0 setupscons.py
View
3 setupscons.py
@@ -44,6 +44,9 @@
# 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

0 comments on commit 2f3f1a8

Please sign in to comment.
Something went wrong with that request. Please try again.