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

numpy-svn@scip... numpy-svn@scip...
Mon Oct 29 11:44:34 CDT 2007


Author: cdavid
Date: 2007-10-29 11:43:53 -0500 (Mon, 29 Oct 2007)
New Revision: 4337

Modified:
   branches/numpy.scons/numpy/distutils/scons/configuration.py
Log:
Write config info in a file.

Modified: branches/numpy.scons/numpy/distutils/scons/configuration.py
===================================================================
--- branches/numpy.scons/numpy/distutils/scons/configuration.py	2007-10-29 16:40:12 UTC (rev 4336)
+++ branches/numpy.scons/numpy/distutils/scons/configuration.py	2007-10-29 16:43:53 UTC (rev 4337)
@@ -32,3 +32,8 @@
 def write_info(env):
     print "File is %s" % env['NUMPY_PKG_CONFIG_FILE']
     print "Info is %s" % env['NUMPY_PKG_CONFIG']
+    f = open(env['NUMPY_PKG_CONFIG_FILE'], 'w')
+    f.writelines("config = %s" % str(env['NUMPY_PKG_CONFIG']))
+    f.close()
+
+



More information about the Numpy-svn mailing list