1 #!/usr/bin/env python 2 3 # NOTE: Path manipulation requires manual customisation. 4 5 import sys 6 sys.path.append("/home/paulb/Software/Python/WebStack") 7 sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") 8 9 from WebStack.Adapters import WSGI 10 from Cookies import CookiesResource 11 from wsgi_cgi import run_with_cgi 12 13 # Special magic incantation. 14 15 handler = WSGI.WSGIAdapter(CookiesResource()) 16 run_with_cgi(handler) 17 18 # vim: tabstop=4 expandtab shiftwidth=4