Mercurial > hg > flowerbed
view flowerbed/example/apps.py @ 1:9ec0eca2a10e
start stubbing out how this is going to look
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 20 Dec 2010 09:32:35 -0800 |
parents | |
children |
line wrap: on
line source
class WSGIFactory(object): def __init__(self, name, description=None, hg=None): """ - name : python package name of the app - description : brief description of the package - hg : mercurial source of package (if any) """ self.name = name self.description = description self.hg = hg class DecoupageFactory(object): def __init__(self): WSGIFactory.__init__(self, name='decoupage', description='dynamic file server', hg='http://k0s.org/hg/decoupage') factories = [DecoupageFactory(),]