paulb@307 | 1 | #!/usr/bin/env python |
paulb@307 | 2 | |
paulb@307 | 3 | # NOTE: Path manipulation requires manual customisation. |
paulb@307 | 4 | |
paulb@307 | 5 | import sys |
paulb@307 | 6 | sys.path.append("/home/paulb/Software/Python/WebStack") |
paulb@307 | 7 | sys.path.append("/home/paulb/Software/Python/WebStack/examples/Common") |
paulb@307 | 8 | |
paulb@325 | 9 | from WebStack.Adapters.WSGI import deploy |
paulb@416 | 10 | from Calendar import CalendarResource |
paulb@307 | 11 | |
paulb@493 | 12 | # Choose or customise one of the following if the example fails. |
paulb@493 | 13 | |
paulb@416 | 14 | deploy(CalendarResource()) |
paulb@493 | 15 | #deploy(CalendarResource("iso-8859-1")) |
paulb@307 | 16 | |
paulb@307 | 17 | # vim: tabstop=4 expandtab shiftwidth=4 |