[Numpy-svn] r8347 - branches/1.4.x/numpy/distutils

numpy-svn@scip... numpy-svn@scip...
Sun Apr 18 05:48:30 CDT 2010


Author: rgommers
Date: 2010-04-18 05:48:30 -0500 (Sun, 18 Apr 2010)
New Revision: 8347

Modified:
   branches/1.4.x/numpy/distutils/ccompiler.py
Log:
Backport r8260. Fix to make distutils work with Python 2.7b1.

Modified: branches/1.4.x/numpy/distutils/ccompiler.py
===================================================================
--- branches/1.4.x/numpy/distutils/ccompiler.py	2010-04-18 10:48:14 UTC (rev 8346)
+++ branches/1.4.x/numpy/distutils/ccompiler.py	2010-04-18 10:48:30 UTC (rev 8347)
@@ -2,15 +2,20 @@
 import os
 import sys
 import new
+from copy import copy
 
 from distutils.ccompiler import *
 from distutils import ccompiler
+from distutils.errors import DistutilsExecError, DistutilsModuleError, \
+                             DistutilsPlatformError
+
 from distutils.sysconfig import customize_compiler
 from distutils.version import LooseVersion
 
 from numpy.distutils import log
 from numpy.distutils.exec_command import exec_command
-from numpy.distutils.misc_util import cyg2win32, is_sequence, mingw32, quote_args, msvc_on_amd64
+from numpy.distutils.misc_util import cyg2win32, is_sequence, mingw32, \
+                                      quote_args, msvc_on_amd64
 
 # hack to set compiler optimizing options. Needs to integrated with something.
 import distutils.sysconfig



More information about the Numpy-svn mailing list