2007-09-27 | paulb | file changeset files shortlog | [project @ 2007-09-27 17:48:34 by paulb] Updated the deployment tool to use jython in the environment if run directly and to support a configurable cache directory and Python path; added these extra fields to the deployment descriptor file. |
paulb@352 | 1 | #!/usr/bin/env python |
paulb@352 | 2 | |
paulb@352 | 3 | from WebStack.Adapters.BaseHTTPRequestHandler import deploy |
paulb@352 | 4 | from VerySimple import VerySimpleResource |
paulb@352 | 5 | |
paulb@352 | 6 | # Special magic incantation. |
paulb@352 | 7 | |
paulb@352 | 8 | print "Serving..." |
paulb@352 | 9 | deploy(VerySimpleResource()) |
paulb@352 | 10 | |
paulb@352 | 11 | # vim: tabstop=4 expandtab shiftwidth=4 |