mailr2638 - /1.2/scons/distrib.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on October 13, 2006 - 07:39:
Author: bugman
Date: Fri Oct 13 07:38:50 2006
New Revision: 2638

URL: http://svn.gna.org/viewcvs/relax?rev=2638&view=rev
Log:
The fix of the previous revision has been redone.

Rather than 'sconstruct' passing in the relax version number as an 
environmental variable, the file
'scons/distrib.py' now just imports the file 'version.py'.  This is a much 
simpler solution!


Modified:
    1.2/scons/distrib.py

Modified: 1.2/scons/distrib.py
URL: 
http://svn.gna.org/viewcvs/relax/1.2/scons/distrib.py?rev=2638&r1=2637&r2=2638&view=diff
==============================================================================
--- 1.2/scons/distrib.py (original)
+++ 1.2/scons/distrib.py Fri Oct 13 07:38:50 2006
@@ -26,6 +26,9 @@
 from re import search
 from tarfile import TarFile
 from zipfile import ZipFile
+
+# relax version file.
+from version import version
 
 
 
@@ -86,10 +89,10 @@
             # Create the file name (without the base directory).
             name = path.join(root, files[i])
             name = name[len(base):]
-            print 'relax-' + env['RELAX_VERSION'] + path.sep + name
+            print 'relax-' + version + path.sep + name
 
             # The archive file name.
-            arcname = 'relax-' + env['RELAX_VERSION'] + path.sep + name
+            arcname = 'relax-' + version + path.sep + name
 
             # Zip archives.
             if env['DIST_TYPE'] == 'zip':




Related Messages


Powered by MHonArc, Updated Fri Oct 13 08:00:09 2006