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

scipy-svn@scip... scipy-svn@scip...
Tue Oct 21 00:58:24 CDT 2008


Author: cdavid
Date: 2008-10-21 00:58:20 -0500 (Tue, 21 Oct 2008)
New Revision: 4808

Modified:
   trunk/tools/win32/build_scripts/pavement.py
Log:
Add bootstrap_arch task.

Modified: trunk/tools/win32/build_scripts/pavement.py
===================================================================
--- trunk/tools/win32/build_scripts/pavement.py	2008-10-21 05:44:14 UTC (rev 4807)
+++ trunk/tools/win32/build_scripts/pavement.py	2008-10-21 05:58:20 UTC (rev 4808)
@@ -20,7 +20,7 @@
 library_dirs = C:\local\lib\yop\sse3"""
 _SSE2_CFG = r"""[atlas]
 library_dirs = C:\local\lib\yop\sse2"""
-_NOSSE_CFG = r"""[ATLAS]
+_NOSSE_CFG = r"""[atlas]
 library_dirs = fakedirectorywhichhopefullydoesnotexist
 [DEFAULT]
 library_dirs = C:\local\lib\yop\nosse"""
@@ -42,6 +42,10 @@
     build_binary=Bunch(
         pyver = PYVER,
         arch = ARCH
+    ),
+    bootstrap_arch=Bunch(
+        pyver = PYVER,
+        arch = ARCH
     )
 )
 
@@ -83,6 +87,12 @@
     prepare_scipy_sources(options.src_dir, bootstrap_dir(options.pyver))
 
 @task
+def bootstrap_arch():
+    pyver = options.pyver
+    arch = options.arch
+    set_bootstrap_sources(arch, pyver)
+
+@task
 def build_binary():
     pyver = options.pyver
     arch = options.arch
@@ -120,6 +130,10 @@
     move_binary(arch, pyver)
 
 # Helpers
+def set_bootstrap_sources(arch, pyver):
+    bdir = bootstrap_dir(pyver)
+    write_site_cfg(arch, cwd=bdir)
+
 def get_sdist_tarball(src_root):
     """Return the name of the installer built by sdist command."""
     # Yeah, the name logic is harcoded in distutils. We have to reproduce it



More information about the Scipy-svn mailing list