paulb@307 | 1 | #!/usr/bin/env python |
paulb@307 | 2 | |
paulb@570 | 3 | # Uncomment and adjust the paths below if WebStack is not installed somewhere |
paulb@570 | 4 | # on the PYTHONPATH. |
paulb@307 | 5 | |
paulb@570 | 6 | #import sys |
paulb@570 | 7 | #sys.path.append("/home/paulb/Software/Python/WebStack") |
paulb@570 | 8 | #sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") |
paulb@307 | 9 | |
paulb@325 | 10 | from WebStack.Adapters.WSGI import deploy |
paulb@416 | 11 | from Calendar import CalendarResource |
paulb@307 | 12 | |
paulb@493 | 13 | # Choose or customise one of the following if the example fails. |
paulb@493 | 14 | |
paulb@416 | 15 | deploy(CalendarResource()) |
paulb@493 | 16 | #deploy(CalendarResource("iso-8859-1")) |
paulb@307 | 17 | |
paulb@307 | 18 | # vim: tabstop=4 expandtab shiftwidth=4 |