Hi,

I have to run my app in a quite restrictive environment (no eggs, only
standard packages from debian stable, no shell), I am going to use
some additional modules (for example authkit) ... I would like to
change the "import path" on my app startup to add an extra directory
where all additional modules will be stored ...
Any thoughts?

Karol

On Tue, May 13, 2008 at 9:57 PM, Ian Bicking <[EMAIL PROTECTED]> wrote:
>
> [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)?
>
> You could, but it probably won't work like you want.  If a module is
> already loaded it will not be reloaded, despite changes to sys.path.
>
> I'm not sure what you are trying to do, but maybe something like exec
> will work better (i.e., something that doesn't use the import machinery
> at all).
>
> --
> Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to