G�khan SEVER <gokhansever@...149...> writes:
One more question: After svn co completes checking out the main trunk it
Checked out revision 7203.
However when I do:
In : matplotlib.__revision__
Out: '$Revision: 6887 $'
Which one is correct?
The svn output is arguably more correct. The matplotlib.__revision__
uses the svn $Revision$ keyword, and its content is only updated when
matplotlib/__init__.py changes, so it reflects the latest revision in
which that file was changed. It would be possible (but no-one has
probably thought it worthwhile) to make setup.py determine the overall
revision of the checked-out tree (which is more complicated than it
sounds, since it might not even be a single revision number; but there
is a program called svnversion that does this) and update __init__.py
Jouni K. Sepp�nen