Update numpy version tests in setupext.py and __init__.py

Hi folks-

I've been experimenting with SVN checkouts of numpy and scipy,
and found they are not compatible with mpl-0.99.1. The
problem is that the numpy version number for recent checkouts
is 2.0.x (2.0.0.dev8289 for the version I'm currently using),
but mpl's numpy version checking (on the 1st two digits) isn't
quite smart enough to know that 2.0 > 1.1. It's easy enough
to fix by hand; the obvious lines in setupext.py and __init__py
need to be changed to something like:

    if not ( (int(nn[0]) == 1 and int(nn[1]) >= 1) or (int(nn[0]) > 1) ):

I haven't kept up with the recent discussion about how to
number the next numpy (there was some back and forth about
how soon to move to 2.x), but sooner or later it will get
up to 2.x, so this should be fixed in the mpl repo.

Cheers,
Tom

···

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/

I ran into this too, it's fixed in SVN.

David

···

On 9-Mar-10, at 2:24 AM, Tom Loredo wrote:

I've been experimenting with SVN checkouts of numpy and scipy,
and found they are not compatible with mpl-0.99.1. The
problem is that the numpy version number for recent checkouts
is 2.0.x (2.0.0.dev8289 for the version I'm currently using),
but mpl's numpy version checking (on the 1st two digits) isn't
quite smart enough to know that 2.0 > 1.1.