[Scipy-svn] r4809 - trunk/tools/win32/build_scripts

scipy-svn at scipy.org scipy-svn at scipy.org
Tue Oct 21 02:13:54 EDT 2008


Author: cdavid
Date: 2008-10-21 01:13:48 -0500 (Tue, 21 Oct 2008)
New Revision: 4809

Modified:
   trunk/tools/win32/build_scripts/pavement.py
Log:
Re-enable the build log.

Modified: trunk/tools/win32/build_scripts/pavement.py
===================================================================
--- trunk/tools/win32/build_scripts/pavement.py	2008-10-21 05:58:20 UTC (rev 4808)
+++ trunk/tools/win32/build_scripts/pavement.py	2008-10-21 06:13:48 UTC (rev 4809)
@@ -93,12 +93,12 @@
     set_bootstrap_sources(arch, pyver)
 
 @task
+ at needs('bootstrap_arch')
 def build_binary():
     pyver = options.pyver
     arch = options.arch
     bdir = bootstrap_dir(pyver)
     print "Building scipy binary for python %s, arch is %s" % (get_python_exec(pyver), arch)
-    write_site_cfg(arch, cwd=bdir)
 
     if BUILD_MSI:
         cmd = [get_python_exec(pyver), "setup.py", "build", "-c", "mingw32",
@@ -106,13 +106,13 @@
     else:
         cmd = [get_python_exec(pyver), "setup.py", "build", "-c", "mingw32",
                "bdist_wininst"]
-    # build_log = "build-%s-%s.log" % (arch, pyver)
-    # f = open(build_log, 'w')
+    build_log = "build-%s-%s.log" % (arch, pyver)
+    f = open(build_log, 'w')
 
     try:
         try:
             subprocess.call(cmd, #shell = True, 
-                            #stderr = subprocess.STDOUT, stdout = f,
+                            stderr = subprocess.STDOUT, stdout = f,
                             cwd=bdir)
         finally:
             f.close()




More information about the Scipy-svn mailing list