You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
480 B
20 lines
480 B
# -*- coding: utf-8 -*- |
|
|
|
''' Top-level package for Ordr2. ''' |
|
|
|
__author__ = 'Holger Frey' |
|
__email__ = 'frey@imtek.de' |
|
__version__ = '0.0.1' |
|
|
|
|
|
from pyramid.config import Configurator |
|
|
|
|
|
def main(global_config, **settings): |
|
''' This function returns a Pyramid WSGI application. ''' |
|
config = Configurator(settings=settings) |
|
config.include('pyramid_jinja2') |
|
config.include('.models') |
|
config.include('.resources') |
|
config.scan() |
|
return config.make_wsgi_app()
|
|
|