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

scipy-svn@scip... scipy-svn@scip...
Tue Oct 21 05:40:22 CDT 2008


Author: cdavid
Date: 2008-10-21 05:40:18 -0500 (Tue, 21 Oct 2008)
New Revision: 4821

Modified:
   trunk/tools/win32/build_scripts/pavement.py
Log:
nsis task to build the nsis installer from scratch should now work.

Modified: trunk/tools/win32/build_scripts/pavement.py
===================================================================
--- trunk/tools/win32/build_scripts/pavement.py	2008-10-21 09:58:35 UTC (rev 4820)
+++ trunk/tools/win32/build_scripts/pavement.py	2008-10-21 10:40:18 UTC (rev 4821)
@@ -108,6 +108,8 @@
         set_bootstrap_sources(arch, options.pyver)
         raw_build_arch(options.pyver, arch, options.src_root)
 
+    raw_build_nsis(options.pyver)
+
 # Helpers
 def set_bootstrap_sources(arch, pyver):
     bdir = bootstrap_dir(pyver)
@@ -317,3 +319,9 @@
 
     move_binary(arch, pyver, bdir, scipy_verstr)
 
+def raw_build_nsis(pyver):
+    bdir = bootstrap_dir(options.pyver)
+    st = subprocess.call(['makensis', 'scipy-superinstaller.nsi'], 
+                         cwd=bdir)
+    if st:
+        raise RuntimeError("Error while executing makensis command")



More information about the Scipy-svn mailing list