From: <md...@us...> - 2007-08-01 16:21:18
|
Revision: 3661 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=3661&view=rev Author: mdboom Date: 2007-08-01 09:21:11 -0700 (Wed, 01 Aug 2007) Log Message: ----------- Only display the raw version (not the SVN revision, which only refers to one file and is basically wrong.) Modified Paths: -------------- trunk/matplotlib/setup.py Modified: trunk/matplotlib/setup.py =================================================================== --- trunk/matplotlib/setup.py 2007-08-01 15:56:34 UTC (rev 3660) +++ trunk/matplotlib/setup.py 2007-08-01 16:21:11 UTC (rev 3661) @@ -108,14 +108,12 @@ BUILD_NXUTILS = 1 for line in file('lib/matplotlib/__init__.py').readlines(): - if (line.startswith('__version__') or - line.startswith('__revision__') or - line.startswith('__date__')): + if (line.startswith('__version__')): exec(line.strip()) print_line() print_raw("BUILDING MATPLOTLIB") -print_status('matplotlib', '%s (r%s)' % (__version__, __revision__.split()[-2])) +print_status('matplotlib', __version__) print_status('python', sys.version) print_status('platform', sys.platform) if sys.platform == 'win32': This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |