The easiest way to check-out matplotlib source

G�khan SEVER <gokhansever@...149...> writes:

One more question: After svn co completes checking out the main trunk it
says:

Checked out revision 7203.

However when I do:

In [1]: matplotlib.__revision__
Out[1]: '$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
accordingly.

···

--
Jouni K. Sepp�nen
http://www.iki.fi/jks

Hello,

I have updated installing_faq.rst file accordingly as a result of these conversations. Thanks to Jouni, and IPython documentation (stolen some words from there :))

Could you please tell me how can I submit this to database? OK, this is the last time I am asking about patches, and will not disturb anybody for such a simple matter again :wink:

Thanks…

Gökhan

···

On Mon, Jun 8, 2009 at 2:48 PM, Jouni K. Seppänen <jks@…55…278…> wrote:

Gökhan SEVER <gokhansever@…149…> writes:

One more question: After svn co completes checking out the main trunk it

says:

Checked out revision 7203.

However when I do:

In [1]: matplotlib.revision

Out[1]: ‘$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

accordingly.

Jouni K. Seppänen

http://www.iki.fi/jks


Crystal Reports - New Free Runtime and 30 Day Trial

Check out the new simplified licensing option that enables unlimited

royalty-free distribution of the report engine for externally facing

server and web deployment.

http://p.sf.net/sfu/businessobjects


Matplotlib-devel mailing list

Matplotlib-devel@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

See http://matplotlib.sourceforge.net/faq/howto_faq.html#contributing-howto

Thanks,
JDH

···

On Mon, Jun 8, 2009 at 3:25 PM, Gökhan SEVER<gokhansever@...149...> wrote:

I have updated installing_faq.rst file accordingly as a result of these
conversations. Thanks to Jouni, and IPython documentation (stolen some words
from there :))

Could you please tell me how can I submit this to database? OK, this is the
last time I am asking about patches, and will not disturb anybody for such a
simple matter again :wink:

Allright my first documentation patch:

Addition to installing_faq.rst showing how-to do a development installation.

Please correct me if I have done any mistakes (not following guideliness?) there

Thanks

Gökhan

installing_faq.diff (951 Bytes)

···

On Mon, Jun 8, 2009 at 3:30 PM, John Hunter <jdh2358@…149…> wrote:

On Mon, Jun 8, 2009 at 3:25 PM, Gökhan SEVER<gokhansever@…149…> wrote:

I have updated installing_faq.rst file accordingly as a result of these

conversations. Thanks to Jouni, and IPython documentation (stolen some words

from there :))

Could you please tell me how can I submit this to database? OK, this is the

last time I am asking about patches, and will not disturb anybody for such a

simple matter again :wink:

See http://matplotlib.sourceforge.net/faq/howto_faq.html#contributing-howto

Thanks,

JDH