2011-04-03 | Paul Boddie | raw annotate files changeset graph | Split the monolithic getEvents function into separate functions that find event pages in categories, find events in event pages, retain events within a given period, and define such periods at a particular resolution. Moved timespan and date conversion into a special class hierarchy used by date- and timespan-related classes. Simplified the getCoverage function which now takes events that can be provided by requesting items within a particular range from collections of timespans/events. Changed the EventAggregatorSupport imports to reduce the amount of repetition when using common functions and classes. |
1 #! /usr/bin/env python 2 3 from distutils.core import setup 4 5 setup( 6 name = "EventAggregator", 7 description = "Aggregate event data and display it in an event calendar (or summarise it in iCalendar and RSS resources)", 8 author = "Paul Boddie", 9 author_email = "paul@boddie.org.uk", 10 url = "http://moinmo.in/MacroMarket/EventAggregator", 11 version = "0.7", 12 py_modules = ["EventAggregatorSupport", "MoinMoin.script.import.eventfeed"] 13 )