Revision: 6107
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6107&view=rev
Author:   jdh2358
Date:     2008-09-18 20:14:18 +0000 (Thu, 18 Sep 2008)

Log Message:
-----------
updating pytz and dateutil -- HEAD will be broken temporarily

Modified Paths:
--------------
    trunk/matplotlib/lib/dateutil/NEWS
    trunk/matplotlib/lib/dateutil/README
    trunk/matplotlib/setup.py

Added Paths:
-----------
    trunk/matplotlib/lib/dateutil/zoneinfo/zoneinfo-2008e.tar.gz
    trunk/matplotlib/lib/pytz_old/

Removed Paths:
-------------
    trunk/matplotlib/lib/dateutil/zoneinfo/zoneinfo-2007f.tar.gz
    trunk/matplotlib/lib/pytz/

Modified: trunk/matplotlib/lib/dateutil/NEWS
===================================================================
--- trunk/matplotlib/lib/dateutil/NEWS  2008-09-18 13:09:01 UTC (rev 6106)
+++ trunk/matplotlib/lib/dateutil/NEWS  2008-09-18 20:14:18 UTC (rev 6107)
@@ -1,3 +1,49 @@
+Version 1.4.1
+-------------
+
+- Updated timezone information.
+
+
+Version 1.4
+-----------
+
+- Fixed another parser precision problem on conversion of decimal seconds
+  to microseconds, as reported by Erik Brown.  Now these issues are gone
+  for real since it's not using floating point arithmetic anymore.
+
+- Fixed case where tzrange.utcoffset and tzrange.dst() might fail due
+  to a date being used where a datetime was expected (reported and fixed
+  by Lennart Regebro).
+
+- Prevent tzstr from introducing daylight timings in strings that didn't
+  specify them (reported by Lennart Regebro).
+
+- Calls like gettz("GMT+3") and gettz("UTC-2") will now return the
+  expected values, instead of the TZ variable behavior.
+
+- Fixed DST signal handling in zoneinfo files.  Reported by
+  Nicholas F. Fabry and John-Mark Gurney.
+
+
+Version 1.3
+-----------
+
+- Fixed precision problem on conversion of decimal seconds to
+  microseconds, as reported by Skip Montanaro.
+
+- Fixed bug in constructor of parser, and converted parser classes to
+  new-style classes.  Original report and patch by Michael Elsd\xF6rfer.
+
+- Initialize tzid and comps in tz.py, to prevent the code from ever
+  raising a NameError (even with broken files).  Johan Dahlin suggested
+  the fix after a pyflakes run.
+
+- Version is now published in dateutil.__version__, as requested
+  by Darren Dale.
+
+- All code is compatible with new-style division.
+
+
 Version 1.2
 -----------
 

Modified: trunk/matplotlib/lib/dateutil/README
===================================================================
--- trunk/matplotlib/lib/dateutil/README        2008-09-18 13:09:01 UTC (rev 
6106)
+++ trunk/matplotlib/lib/dateutil/README        2008-09-18 20:14:18 UTC (rev 
6107)
@@ -1,13 +1,3 @@
-The dateutil module packaged with matplotlib is copied from
-    http://labix.org/python-dateutil
-
-Do not make any changes in this copy of the code. They may be
-overwritten with the next update from the original source.
-
-Below is the original README text from the distribution.
-
------------------------------------------------------------------
-
 ## This file is in the moin format. The latest version is found
 ## at https://moin.conectiva.com.br/DateUtil
 


Property changes on: 
trunk/matplotlib/lib/dateutil/zoneinfo/zoneinfo-2008e.tar.gz
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Modified: trunk/matplotlib/setup.py
===================================================================
--- trunk/matplotlib/setup.py   2008-09-18 13:09:01 UTC (rev 6106)
+++ trunk/matplotlib/setup.py   2008-09-18 20:14:18 UTC (rev 6107)
@@ -164,20 +164,19 @@
     # only install pytz and dateutil if the user hasn't got them
 
     def add_pytz():
-        packages.append('pytz')
+        packages = ['pytz']
         resources = ['zone.tab', 'locales/pytz.pot']
-        # install pytz subdirs
-        for dirpath, dirname, filenames in os.walk(os.path.join('lib', 'pytz',
-                                                                'zoneinfo')):
+        for dirpath, dirnames, filenames in os.walk(os.path.join('pytz', 
'zoneinfo')):
+            # remove the 'pytz' part of the path
             if '.svn' not in dirpath:
-                # remove the 'lib/pytz' part of the path
-                basepath = dirpath.split(os.path.sep, 2)[2]
+                basepath = dirpath.split(os.path.sep, 1)[1]
                 resources.extend([os.path.join(basepath, filename)
                                   for filename in filenames])
-        package_data['pytz'] = resources
-        assert len(resources) > 10, 'pytz zoneinfo files not found!'
-#                packages.append('/'.join(dirpath.split(os.sep)[1:]))
+        package_data = {'pytz': resources}
 
+        assert len(resources) > 10, 'zoneinfo files not found!'
+
+
     def add_dateutil():
         packages.append('dateutil')
         packages.append('dateutil/zoneinfo')


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
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-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to