summaryrefslogtreecommitdiff
path: root/command/build_clib.py
diff options
context:
space:
mode:
authorcookedm <cookedm@localhost>2007-05-16 15:27:12 +0000
committercookedm <cookedm@localhost>2007-05-16 15:27:12 +0000
commit4c657edb70dd3a3f810faf1a9b0b5f7049a046cd (patch)
tree29cd1954d2d201fa6287c845be812efe67d3ea6f /command/build_clib.py
parent9795a2c6225cb56e1e34d53b722f2e2b050b4fdc (diff)
downloadnumpy-4c657edb70dd3a3f810faf1a9b0b5f7049a046cd.tar.gz
Merged revisions 3732-3768 via svnmerge from
http://svn.scipy.org/svn/numpy/trunk/numpy/distutils ........ r3740 | cookedm | 2007-05-10 13:26:20 -0400 (Thu, 10 May 2007) | 2 lines Use a try/finally instead of try/except Exception for cleanup in numpy/distutils/core.py ........ r3745 | pearu | 2007-05-11 08:50:42 -0400 (Fri, 11 May 2007) | 1 line Clean up setup() calls. ........ r3746 | pearu | 2007-05-11 08:58:31 -0400 (Fri, 11 May 2007) | 1 line Using meaningful NotFoundError exception for blas_opt and lapack_opt resources. ........ r3747 | pearu | 2007-05-11 09:37:31 -0400 (Fri, 11 May 2007) | 1 line Raise exception when pyrex is required. ........ r3759 | cookedm | 2007-05-14 05:25:11 -0400 (Mon, 14 May 2007) | 2 lines With gfortran, compile modern Xeon's with EM64T with -march=nocona (#515) ........ r3763 | pearu | 2007-05-14 08:17:49 -0400 (Mon, 14 May 2007) | 1 line Workaround Python distutils bug sf 1718574. ........ r3764 | cookedm | 2007-05-14 20:35:49 -0400 (Mon, 14 May 2007) | 2 lines #520: don't add arch-specific flags when linking with Intel Fortran ........
Diffstat (limited to 'command/build_clib.py')
-rw-r--r--command/build_clib.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/command/build_clib.py b/command/build_clib.py
index e254b54f4..2aff51e08 100644
--- a/command/build_clib.py
+++ b/command/build_clib.py
@@ -14,6 +14,13 @@ try:
except NameError:
from sets import Set as set
+# Fix Python distutils bug sf #1718574:
+_l = old_build_clib.user_options
+for _i in range(len(_l)):
+ if _l[_i][0] in ['build-clib', 'build-temp']:
+ _l[_i] = (_l[_i][0]+'=',)+_l[_i][1:]
+#
+
class build_clib(old_build_clib):
description = "build C/C++/F libraries used by Python extensions"