|
From: Drain, T. R <the...@jp...> - 2008-12-17 15:24:30
|
Nope - no windows users (yet - but we'll test it first if we ever have to deliver there). That will work perfectly - Thanks!!! Ted > -----Original Message----- > From: Jeff Whitaker [mailto:js...@fa...] > Sent: Wednesday, December 17, 2008 5:03 AM > To: Drain, Theodore R > Cc: mat...@li... > Subject: Re: [matplotlib-devel] Basemap question for Jeff: different > data directory? > > Drain, Theodore R wrote: > > Jeff, > > Is it possible to install the basemap data into a different > directory? > > > > I'm trying to set up a tool delivery layout for our users that allows > me to rapidly update packages that tend to change. We have a core set > of software that our code is built on and it's a lot of work for us to > update that and test it on every platform. What I'm doing is > separating out the packages of that core set that we generally need to > update at a higher rate (currently that's matplotlib and sphinx) > because they're under more active development. > > > > The largest piece (by an order of magnitude) of these active tools is > the basemap data. What I'd really like to do is install the basemap > data with the core set of tools and then tell basemap where it's > located instead of having to redeliver this large chunk of unchanging > data every time we do a bug fix update to MPL. Perhaps by setting an > environment variable that takes precedence over the default location? > > > > Any thoughts? I could put a patch together for it if you think it's > worthwhile. > > > > Thanks, > > Ted > > > > - > > Ted: I've changed Basemap to look for it's data in BASEMAPDATA, and if > that env var is not set to use the default location (svn revision > 6646). Will that work for you? Do you also want an option in > setup.py > to not install the data? > > I'm a bit worried that this won't work in Windows - do you have Windows > users? > > -Jeff > > -- > Jeffrey S. Whitaker Phone : (303)497-6313 > NOAA/OAR/CDC R/PSD1 FAX : (303)497-6449 > 325 Broadway Boulder, CO, USA 80305-3328 |