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 2 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
new file mode 100644
new file mode 100644
--- /dev/null
+++ b/flowerbed/example/apps.py
@@ -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(),]
+