Mercurial > hg > flowerbed
changeset 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 | 0613e2bb0ebe |
children | 1f5233951a43 |
files | flowerbed/example/__init__.py flowerbed/example/apps.py |
diffstat | 1 files changed, 20 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/flowerbed/example/apps.py Mon Dec 20 09:32:35 2010 -0800 @@ -0,0 +1,20 @@ +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(),] +