[Scipy-svn] r6710 - in trunk/scipy: lib/lapack linalg

scipy-svn@scip... scipy-svn@scip...
Sat Sep 11 19:47:31 CDT 2010


Author: ptvirtan
Date: 2010-09-11 19:47:31 -0500 (Sat, 11 Sep 2010)
New Revision: 6710

Modified:
   trunk/scipy/lib/lapack/setup.py
   trunk/scipy/linalg/setup.py
Log:
3K: make scipy.lib setup py3k compatible.

Modified: trunk/scipy/lib/lapack/setup.py
===================================================================
--- trunk/scipy/lib/lapack/setup.py	2010-09-12 00:47:15 UTC (rev 6709)
+++ trunk/scipy/lib/lapack/setup.py	2010-09-12 00:47:31 UTC (rev 6710)
@@ -69,7 +69,7 @@
     # clapack:
     def get_clapack_source(ext, build_dir):
         name = ext.name.split('.')[-1]
-        assert name=='clapack',`name`
+        assert name=='clapack', repr(name)
         if atlas_version is None:
             target = os.path.join(build_dir,target_dir,'clapack.pyf')
             from distutils.dep_util import newer

Modified: trunk/scipy/linalg/setup.py
===================================================================
--- trunk/scipy/linalg/setup.py	2010-09-12 00:47:15 UTC (rev 6709)
+++ trunk/scipy/linalg/setup.py	2010-09-12 00:47:31 UTC (rev 6710)
@@ -54,7 +54,7 @@
     atlas_version = ([v[3:-3] for k,v in lapack_opt.get('define_macros',[]) \
                       if k=='ATLAS_INFO']+[None])[0]
     if atlas_version:
-        print 'ATLAS version',atlas_version
+        print ('ATLAS version: %s' % atlas_version)
 
     target_dir = ''
     skip_names = {'clapack':[],'flapack':[],'cblas':[],'fblas':[]}



More information about the Scipy-svn mailing list