Spurned by this discussion I've created a package CherryPaste, to try to make CherryPy applications compatible with Paste Deploy. I haven't really used it seriously, but my very tiny and incomplete test works okay; feedback is very much welcome. The idea isn't to magically support all CherryPy applications, but to support those that try. Specifically messing with cherrypy.root won't work, but you use the Paste Deploy configuration to let it set up cherrypy.root for you (it ends up being threadlocal, and each application is the "root" for its request).

Anyway, you can install it with:

  easy_install CherryPaste==dev

Probably better to use "-e -b .", because this really isn't ready for any real use, I'm just looking for feedback.

TG 0.9 doesn't have to include this, but it would be good if TG worked okay with this, or had some way you could get to that would work well with this (something that does less magic).

A small website at: http://pythonpaste.org/cherrypaste/

--
Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org

Reply via email to