Jeff Whitaker wrote:
> Ryan May wrote:
>> Jeff,
>>
>> Would it be a lot of work for basemap to use the system copy of 
>> pupynere if it's installed, instead of installing its own copy? (like 
>> what's already done for dap and httplib2)
>>
>> Ryan
>>
>>   
> 
> Ryan:  The basemap version is modified to automatically unpack scaled 
> short integers into floats using the add_offset and scale_factor 
> variable attributes.  It also automatically turns data with missing 
> values into masked arrays.
> Is having two versions causing you any problems?
> "import pupynere" should give you the system copy.  You'd have to "from 
> mpl_toolkits.basemap import pupynere" to get the Basemap version.

Good to know.  It's not that it's a big deal for me (it's one python file after 
all), I just noticed that Gentoo's ebuild is blowing it away and just 
requiring/installing mainline pupynere. From a purist standpoint, I don't like 
having multiple copies of the same code hanging around, but I'm not about to 
lose 
sleep over it.  It might make your job easier if you could convince Roberto to 
take those changes upstream. :)  It sounds to me, however, that I need to file 
a 
Gentoo bug.

I will say that pupynere seems to be spreading, but not in a good way.  There's 
the standalone version.  Then there's your tweaked version.  And there's a (now 
out-dated) copy in scipy.

On a related note, is there any reason that Basemap/pyshapelib couldn't use a 
system copy of shapelib?  Right now, Gentoo's patching the setup.py to do this. 
I was curious if we could move that upstream.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to