svn revision number

Thomas Robitaille <thomas.robitaille@...287...> writes:

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

but this isn't actually the current revision number, I have upgraded
to 7096 (I'm suspecting that 6887 is the revision number for

The way Subversion works, 6887 is simply the latest revision in which
matplotlib/ was changed. If you have a Subversion checkout,
you can use the svnversion command to find out the revision of the
checkout. This could in principle be incorporated into the release
process to embed the latest revision somewhere in the source code.


Jouni K. Sepp�nen