Re: [Webware-discuss] Running servlets from .pyc files

2005-02-18 Thread jacob martinson
Chuck, I did that, but I still get 404 errors. I looked at it a bit more in PythonServletFactory.servletForTransaction() it calls self.importAsPackage(transaction, path). "path" is pulled from request.serverSidePath(), and contains the full path to the expected source file, complete with tr

Re: [Webware-discuss] Running servlets from .pyc files

2005-02-18 Thread Chuck Esterbrook
On Fri, 18 Feb 2005 08:56:54 -0800, jacob martinson wrote: > Is it possible to setup WebKit to run servlets from compiled code (* > .pyc) rather than source files? > > Using python from the command line on compiled files works, like: > > python someapp.pyc > > and also: > > $ python  import som

Re: [Webware-discuss] Running servlets from .pyc files

2005-02-18 Thread Ian Bicking
jacob martinson wrote: Is it possible to setup WebKit to run servlets from compiled code (*.pyc) rather than source files? Using python from the command line on compiled files works, like: python someapp.pyc and also: $ python import someapp I tried adding '.pyc' to 'FilesToServe' in Application.c

[Webware-discuss] Running servlets from .pyc files

2005-02-18 Thread jacob martinson
Is it possible to setup WebKit to run servlets from compiled code (*.pyc) rather than source files? Using python from the command line on compiled files works, like: python someapp.pyc and also: $ python >>> import someapp >>> I tried adding '.pyc' to 'FilesToServe' in Application.config, and