]> git.cworth.org Git - notmuch/blob - devel/notmuch-web/nmgunicorn.py
e71ba12a2c0f93c1f3c1272b1509de5ea206f2e5
[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()