I installed svn r4071. `svn info <working copy>` and
`svnversion <working copy>` report the correct rev number. But

$ ipython -pylab

In [1]: matplotlib.__version__
Out[1]: '0.90.1'

In [2]: matplotlib.__revision__
Out[2]: '$Revision: 3975 $'

If I'm right, this is because in matplotlib/__init__.py:
__revision__ = '$Revision: 3975 $'
which is the last rev where *this file* changed. Shouldn't
matplotlib.__revision__ report the latest global revision number?
Like that:

import subprocess as su
p = su.Popen('svnversion <path/to/working copy>',
             shell=True, stdin=su.PIPE, stdout=su.PIPE)
revnr = p.stdout.read().strip()
print revnr

-- 
cheers,
steve

I love deadlines. I like the whooshing sound they make as they fly by. --
Douglas Adams


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to