Re: [Matplotlib-users] svn revision number

2009-05-08 Thread Jouni K . Seppänen
Thomas Robitaille  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 0.98.5.2)

The way Subversion works, 6887 is simply the latest revision in which
matplotlib/__init__.py 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
http://www.iki.fi/jks


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users


[Matplotlib-users] svn revision number

2009-05-08 Thread Thomas Robitaille
Hello,

I was wondering whether there is an easy way to find out the svn  
revision number of matplotlib in python. I tried:

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 0.98.5.2)

I know it's probably unlikely that it's possible to find out the exact  
revision, but just wanted to check just in case!

Thanks,

Thomas

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users