Re: sys.path

2008-05-15 Thread Karol Tarcak
Hi all, thx for the suggestions ... It seems that I had to put few lines into app/__init__.py ... Karol --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: sys.path

2008-05-14 Thread Karol Tarcak
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

Re: sys.path

2008-05-14 Thread Ian Bicking
Karol Tarcak wrote: 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

Re: sys.path

2008-05-14 Thread Mike Orr
On Wed, May 14, 2008 at 8:58 AM, Ian Bicking [EMAIL PROTECTED] wrote: You might want to do something similar to appengine-monkey: https://appengine-monkey.googlecode.com/svn/trunk/paste-deploy.py (it uses a virtualenv and then also a fixup script to make the virtualenv somewhat relocatable:

Re: sys.path

2008-05-14 Thread Ian Bicking
Mike Orr wrote: On Wed, May 14, 2008 at 8:58 AM, Ian Bicking [EMAIL PROTECTED] wrote: You might want to do something similar to appengine-monkey: https://appengine-monkey.googlecode.com/svn/trunk/paste-deploy.py (it uses a virtualenv and then also a fixup script to make the virtualenv

Re: sys.path

2008-05-14 Thread Jonathan Vanasco
i do something similar to get the recaptcha client to work (the installer is broken) along with some other modules my solution is this: 1_ I have an 'externals' dir in lib /myapp/lib/externals/recaptcha 2_ at the top config/environment.py i have import sys appdir= sys.path[0] appexternals

Re: sys.path

2008-05-13 Thread Ian Bicking
[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

sys.path

2008-05-12 Thread [EMAIL PROTECTED]
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. Karol --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss