bin/qmsk-irclogs.fcgi
author Tero Marttila <terom@fixme.fi>
Sun, 13 Sep 2009 20:08:16 +0300
changeset 143 154d2d8ae9c0
parent 140 bin/index.fcgi@6db2527b67cf
child 147 95b0a3fdd207
permissions -rwxr-xr-x
kill version magic from setup.py, rename scripts to global names and move package data into the package
#!/usr/bin/python2.5
# :set filetype=py

"""
    FastCGI mode using qmsk.web.fastcgi_main
"""

from qmsk.web import fastcgi_main

# XXX: error handling for imports? Lighttp sucks hard at this
from qmsk.irclogs import wsgi

def main () :
    """
        Build our WSGIApplication and run
    """

    # create app
    app = wsgi.Application()

    # run once
    fastcgi_main.run(app)

if __name__ == '__main__' :
    main()