[Numpy-svn] r4224 - branches/numpy.scons/numpy/distutils/scons

numpy-svn at scipy.org numpy-svn at scipy.org
Thu Oct 18 02:21:54 EDT 2007


Author: cdavid
Date: 2007-10-18 01:21:48 -0500 (Thu, 18 Oct 2007)
New Revision: 4224

Modified:
   branches/numpy.scons/numpy/distutils/scons/numpyenv.py
Log:
Add a file substitution tool in scons command

Modified: branches/numpy.scons/numpy/distutils/scons/numpyenv.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/numpyenv.py	2007-10-18 05:42:25 UTC (rev 4223)
+++ branches/numpy.scons/numpy/distutils/scons/numpyenv.py	2007-10-18 06:21:48 UTC (rev 4224)
@@ -16,6 +16,7 @@
 from custom_builders import NumpySharedLibrary, NumpyCtypes, NumpyPythonExtension
 from libinfo import get_config
 from extension_scons import PythonExtension
+from tools.substinfile import TOOL_SUBST
 
 def pyplat2sconsplat():
     # XXX: should see how env['PLATFORM'] is defined, make this a dictionary 
@@ -80,6 +81,9 @@
     # given first. We have to 
     env = Environment(options = opts, tools = [], PYEXTSUFFIX = pyextsuffix)
 
+    # Add the file substitution tool
+    TOOL_SUBST(env)
+
     # Setting dirs according to command line options
     env.AppendUnique(build_dir = pjoin(env['build_prefix'], env['src_dir']))
     env.AppendUnique(distutils_installdir = pjoin(env['distutils_libdir'], 




More information about the Numpy-svn mailing list