[Scipy-svn] r4084 - in trunk/scipy: integrate linalg sparse/linalg/dsolve

scipy-svn@scip... scipy-svn@scip...
Sat Apr 5 13:16:20 CDT 2008


Author: cdavid
Date: 2008-04-05 13:16:14 -0500 (Sat, 05 Apr 2008)
New Revision: 4084

Modified:
   trunk/scipy/integrate/SConstruct
   trunk/scipy/linalg/SConstruct
   trunk/scipy/sparse/linalg/dsolve/SConstruct
Log:
Use Clone instead of deprecated Copy in scons scripts.

Modified: trunk/scipy/integrate/SConstruct
===================================================================
--- trunk/scipy/integrate/SConstruct	2008-04-05 01:16:32 UTC (rev 4083)
+++ trunk/scipy/integrate/SConstruct	2008-04-05 18:16:14 UTC (rev 4084)
@@ -44,10 +44,10 @@
 env.AppendUnique(LIBPATH = env['build_dir'])
 env.AppendUnique(LINKFLAGSEND = env['F77_LDFLAGS'])
 
-quadenv = env.Copy()
+quadenv = env.Clone()
 quadenv.Prepend(LIBS = ['quadpack', 'linpack_lite', 'mach'])
 
-odenv = env.Copy()
+odenv = env.Clone()
 odenv.Prepend(LIBS = ['odepack', 'linpack_lite', 'mach'])
 
 # Build _quadpack

Modified: trunk/scipy/linalg/SConstruct
===================================================================
--- trunk/scipy/linalg/SConstruct	2008-04-05 01:16:32 UTC (rev 4083)
+++ trunk/scipy/linalg/SConstruct	2008-04-05 18:16:14 UTC (rev 4084)
@@ -37,7 +37,7 @@
 #    # checks
 #    env.AppendUnique(LIBPATH = [get_pythonlib_dir()])
 
-fenv = env.Copy()
+fenv = env.Clone()
 
 #=======================
 # Starting Configuration
@@ -156,7 +156,7 @@
 #--------------
 # Atlas version
 #--------------
-atlas_env = env.Copy()
+atlas_env = env.Clone()
 if not IsATLAS(env, 'cblas'):
     atlas_env.AppendUnique(CPPDEFINES = "NO_ATLAS_INFO")
 atlas_env.NumpyPythonExtension('atlas_version', 'atlas_version.c')

Modified: trunk/scipy/sparse/linalg/dsolve/SConstruct
===================================================================
--- trunk/scipy/sparse/linalg/dsolve/SConstruct	2008-04-05 01:16:32 UTC (rev 4083)
+++ trunk/scipy/sparse/linalg/dsolve/SConstruct	2008-04-05 18:16:14 UTC (rev 4084)
@@ -25,7 +25,7 @@
 write_info(env)
 
 # Build superlu lib
-superlu_env = env.Copy()
+superlu_env = env.Clone()
 superlu_def = {}
 if sys.platform == 'win32':
     superlu_def['NO_TIMER'] = 1
@@ -36,7 +36,7 @@
 superlu = superlu_env.NumpyStaticExtLibrary('superlu_src', source = superlu_src)
 
 # Build python extensions
-pyenv = env.Copy()
+pyenv = env.Clone()
 pyenv.Append(CPPPATH = [get_numpy_include_dirs(), env['src_dir']])
 common_src = ['_superlu_utils.c', '_superluobject.c']
 



More information about the Scipy-svn mailing list