--- /dev/null
+from spline.lib.plugin import PluginBase
+import controllers.shoutbox
+
+class ShoutboxPlugin(PluginBase):
+ def controllers(self):
+ return dict(
+ shoutbox = controllers.shoutbox.ShoutboxController,
+ )
--- /dev/null
+import logging
+
+from pylons import request, response, session, tmpl_context as c
+from pylons.controllers.util import abort, redirect_to
+
+from spline.lib.base import BaseController, render
+#from spline import model
+
+class ShoutboxController(BaseController):
+
+ def index(self):
+ return 'shoutbox here'
+
--- /dev/null
+from setuptools import setup, find_packages
+setup(
+ name = 'spline-shoutbox',
+ version = '0.1',
+ package_dir = {'': 'lib'},
+ packages = find_packages('lib'),
+
+ install_requires = ['spline'],
+
+ include_package_data = True,
+
+ zip_safe = False,
+
+ entry_points = {'spline.plugins': 'shoutbox = spline.plugins.shoutbox:ShoutboxPlugin'},
+
+ namespace_packages = ['spline', 'spline.plugins'],
+)
+