from pprint import pprint
from elmyra.ip.version import __VERSION__
from elmyra.ip.access.epo.util import PngRenderer, XmlRenderer, PdfRenderer, NullRenderer
from pyramid.config import Configurator

def main(global_config, **settings):
    """This function returns a Pyramid WSGI application."""

    settings.setdefault('CONFIG_FILE', global_config.get('__file__'))
    settings.setdefault('SOFTWARE_VERSION', __VERSION__)

    config = Configurator(settings=settings)

    # Addons
    config.include('pyramid_mako')
    config.include('pyramid_fanstatic')
    config.include('pyramid_beaker')
    config.include('cornice')

    # Register generic components: URL generator, renderer globals
    config.include(".subscribers")
    config.include(".views")
    #config.include("akhet.static")

    # Register subsystem components
    config.include("elmyra.web.identity")
    config.include("elmyra.ip.util.database.beaker_mongodb_gridfs")
    config.include("***REMOVED***")
    config.include("elmyra.ip.access.ftpro.concordance")
    config.include("elmyra.ip.access.ificlaims.clientpool")
    #config.include("***REMOVED***")
    config.include("elmyra.web.pyramid")
    config.include(".client")
    config.include(".opaquelinks")

    config.add_renderer('.html', 'pyramid.mako_templating.renderer_factory')
    config.add_renderer('xml', XmlRenderer)
    config.add_renderer('png', PngRenderer)
    config.add_renderer('pdf', PdfRenderer)
    config.add_renderer('null', NullRenderer)

    # Views and routes
    config.add_static_view('static', 'static', cache_max_age=3600)
    #config.add_static_view('static', 'static', cache_max_age=0)
    config.add_route('home', '/')

    config.scan()

    return config.make_wsgi_app()

from pprint import pprint
from elmyra.ip.version import __VERSION__
from elmyra.ip.access.epo.util import PngRenderer, XmlRenderer, PdfRenderer, NullRenderer
from pyramid.config import Configurator

def main(global_config, **settings):
    """This function returns a Pyramid WSGI application."""

    settings.setdefault('CONFIG_FILE', global_config.get('__file__'))
    settings.setdefault('SOFTWARE_VERSION', __VERSION__)

    config = Configurator(settings=settings)

    # Addons
    config.include('pyramid_mako')
    config.include('pyramid_fanstatic')
    config.include('pyramid_beaker')
    config.include('cornice')

    # Register generic components: URL generator, renderer globals
    config.include(".subscribers")
    config.include(".views")
    #config.include("akhet.static")

    # Register subsystem components
    config.include("elmyra.web.identity")
    config.include("elmyra.ip.util.database.beaker_mongodb_gridfs")
    #config.include("***REMOVED***")
    #config.include("elmyra.ip.access.ftpro.concordance")
    config.include("elmyra.ip.access.ificlaims.clientpool")
    #config.include("***REMOVED***")
    config.include("elmyra.web.pyramid")
    config.include(".client")
    config.include(".opaquelinks")

    config.add_renderer('.html', 'pyramid.mako_templating.renderer_factory')
    config.add_renderer('xml', XmlRenderer)
    config.add_renderer('png', PngRenderer)
    config.add_renderer('pdf', PdfRenderer)
    config.add_renderer('null', NullRenderer)

    # Views and routes
    config.add_static_view('static', 'static', cache_max_age=3600)
    #config.add_static_view('static', 'static', cache_max_age=0)
    config.add_route('home', '/')

    config.scan()

    return config.make_wsgi_app()

Disable FulltextPRO subsystems