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@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@307 | 11 | from Simple import SimpleResource |
paulb@307 | 12 | |
paulb@325 | 13 | deploy(SimpleResource()) |
paulb@307 | 14 | |
paulb@307 | 15 | # vim: tabstop=4 expandtab shiftwidth=4 |