Commits

Rick Mak committed e682107

Add init py files.

Comments (0)

Files changed (3)

pyramid_rest/__init__.py

+from pyramid.scaffolds.template import Template # API
+
+class RestProjectTemplate(PyramidTemplate):
+    _template_dir = 'scaffolds'
+    summary = 'Pyramid rest project'
+

pyramid_rest/scaffolds/+package+/__init__.py

+from pyramid.config import Configurator
+
+def main(global_config, **settings):
+    """ This function returns a Pyramid WSGI application.
+    """
+    config = Configurator(settings=settings)
+    return config.make_wsgi_app()

pyramid_rest/scaffolds/README.tetx_tmpl

+Readme tmpl