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

scipy-svn at scipy.org scipy-svn at scipy.org
Tue Sep 9 13:15:43 EDT 2008


Author: cdavid
Date: 2008-09-09 12:15:25 -0500 (Tue, 09 Sep 2008)
New Revision: 4713

Modified:
   trunk/tools/win32/build_scripts/prepare_bootstrap.py
Log:
Remove global var reference.


Modified: trunk/tools/win32/build_scripts/prepare_bootstrap.py
===================================================================
--- trunk/tools/win32/build_scripts/prepare_bootstrap.py	2008-09-09 17:14:37 UTC (rev 4712)
+++ trunk/tools/win32/build_scripts/prepare_bootstrap.py	2008-09-09 17:15:25 UTC (rev 4713)
@@ -56,8 +56,8 @@
 
     return svnver
 
-def get_scipy_version(chdir):
-    version_file = pjoin(chdir, "scipy", "version.py")
+def get_scipy_version(src_root):
+    version_file = pjoin(src_root, "scipy", "version.py")
     if not pexists(version_file):
         raise IOError("file %s not found" % version_file)
 
@@ -85,7 +85,7 @@
     verstr = ".".join([str(i) for i in version])
     if isdev:
         verstr += ".dev"
-        verstr += get_svn_version(ROOT)
+        verstr += get_svn_version(src_root)
     return verstr
 
 def prepare_bootstrap(src_root, pyver):




More information about the Scipy-svn mailing list