Re: Automatically add project path to sys.path for all handlers

2008-05-10 Thread Andrei
I know what you are saying about code protection, but in the case of a site hosted on some hosting server you don't have much options. I admit I'm not aware of mod_python internals, I've just use it this as an example to illustrate my idea for an easier deployment. It doesn't have to be in the f

Re: Automatically add project path to sys.path for all handlers

2008-05-08 Thread Graham Dumpleton
On May 9, 9:06 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On May 8, 10:07 pm, Andrei <[EMAIL PROTECTED]> wrote: > > > > > I think it would be useful to add the path to the project > > automatically to sys.path. I can't think of a situation in which I > > wouldn't need to change the python

Re: Automatically add project path to sys.path for all handlers

2008-05-08 Thread Graham Dumpleton
On May 8, 10:07 pm, Andrei <[EMAIL PROTECTED]> wrote: > I think it would be useful to add the path to the project > automatically to sys.path. I can't think of a situation in which I > wouldn't need to change the pythonpath and my project still would > work. You need to have the applications in th

Automatically add project path to sys.path for all handlers

2008-05-08 Thread Andrei
I think it would be useful to add the path to the project automatically to sys.path. I can't think of a situation in which I wouldn't need to change the pythonpath and my project still would work. You need to have the applications in the path in order for the import to work and why shouldn't that