On Mon, May 12, 2008 at 5:56 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi all, > > is there a possibility to modify sys.path each time a request is > processed (i.e. just before pylons is started)? > Thanks in advance.
coincidentally I was looking at this today. and the answer is yes. Although I'm not entirely sure of the consequences or why will you want to do this. for example ToscaWidgets injects sys.path into mako.directories in order to let mako know of templates that are in egg files. anyway you should do that either in __before__ or __call__ in your lib/base.py but again why will you want to do this? > > Karol > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
