2005-04-24 | paulb | raw annotate files changeset graph | [project @ 2005-04-24 22:57:24 by paulb] Added an example resembling that in the documentation. |
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.WSGI import deploy 10 from VerySimple import VerySimpleResource 11 12 deploy(VerySimpleResource()) 13 14 # vim: tabstop=4 expandtab shiftwidth=4