[Scipy-svn] r2897 - trunk/Lib

scipy-svn@scip... scipy-svn@scip...
Wed Apr 4 12:27:43 CDT 2007


Author: rkern
Date: 2007-04-04 12:27:42 -0500 (Wed, 04 Apr 2007)
New Revision: 2897

Modified:
   trunk/Lib/version.py
Log:
Allow for change in numpy r3660 to not generate __svn_version__.py when outside of an SVN checkout.

Modified: trunk/Lib/version.py
===================================================================
--- trunk/Lib/version.py	2007-04-04 08:36:55 UTC (rev 2896)
+++ trunk/Lib/version.py	2007-04-04 17:27:42 UTC (rev 2897)
@@ -3,6 +3,7 @@
 
 if not release:
     import os
+    version += '.dev'
     svn_version_file = os.path.join(os.path.dirname(__file__),
                                     '__svn_version__.py')
 
@@ -12,4 +13,4 @@
                               open(svn_version_file),
                               svn_version_file,
                               ('.py','U',1))
-        version += '.dev'+svn.version
+        version += svn.version



More information about the Scipy-svn mailing list