]> git.cworth.org Git - notmuch/blob - devel/notmuch-web/nmgunicorn.py
devel/notmuch-web: single user web front end using python-cffi
[notmuch] / devel / notmuch-web / nmgunicorn.py
1 #!/usr/bin/env python3
2
3 # to launch nmweb from gunicorn.
4
5 from nmweb import urls, index, search, show
6 import web
7
8 app = web.application(urls, globals())
9
10 # get the wsgi app from web.py application object
11 wsgiapp = app.wsgifunc()