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': _______________________________________________ relax (http://nmr-relax.com) This is the relax-commits mailing list relax-commits@gna.org To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits