2007-09-27 | paulb | raw annotate files changeset graph | [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. |
1 #!/usr/bin/env python 2 3 from WebStack.Adapters.Django import deploy 4 from Calendar import CalendarResource 5 6 # Choose or customise one of the following if the example fails. 7 8 resource = CalendarResource() 9 #resource = CalendarResource("iso-8859-1") 10 11 calendar = deploy(resource, handle_errors=1) 12 13 # vim: tabstop=4 expandtab shiftwidth=4