2012-03-26 | Paul Boddie | file changeset files shortlog | Fixed the Olson zone offset calculation to produce correct offsets for zones west of the prime meridian in a form consistent with those generated using explicit offsets (where the sign of the hours and minutes is always the same). Changed the subtraction of dates, months and non-time objects to produce the actual difference between those objects. Added explicit subtraction support for times. Added some tests. |
paul@0 | 1 | #! /usr/bin/env python |
paul@0 | 2 | |
paul@0 | 3 | from distutils.core import setup |
paul@0 | 4 | |
paul@0 | 5 | setup( |
paul@0 | 6 | name = "MoinSupport", |
paul@0 | 7 | description = "Support libraries for MoinMoin extensions", |
paul@0 | 8 | author = "Paul Boddie", |
paul@0 | 9 | author_email = "paul@boddie.org.uk", |
paul@0 | 10 | url = "http://hgweb.boddie.org.uk/MoinSupport", |
paul@0 | 11 | version = "0.1", |
paul@0 | 12 | py_modules = ["DateSupport", "LocationSupport", "MoinDateSupport", "MoinSupport"] |
paul@0 | 13 | ) |