In article <[EMAIL PROTECTED]>, "John Hunter" <[EMAIL PROTECTED]> wrote:
> On Thu, Sep 18, 2008 at 2:33 PM, Russell E. Owen <[EMAIL PROTECTED]> > wrote: > > The versions of pytz and dateutil that are included with matplotlib > > 0.98.3 are outdated.... > > Hey Russell, thanks for the head's up. > > For our source installs, by default we install them only if they are > not on the system, but you can configure this with setup.cfg to > always, never or conditionally install them. > > I have updated the mpl versions to the ones you point to above. I just discovered that matplotlib 0.98.3 is not compatible with pytz 2008c due to an unexpected change in pytz. The following fix works (I chucked it into __init__.py near the beginning). # the following fix for compatibility with pytz 1.4.1 is from # <http://www.mail-archive.com/[EMAIL PROTECTED]/msg07816.html> import pytz try: import pytz.zoneinfo except ImportError: pytz.zoneinfo = pytz.tzinfo pytz.zoneinfo.UTC = pytz.UTC -- Russell ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel