Oops, when I just saw this posting, I saw that somehow half the
message was truncated. Don't know how that happened....

It should read:

import sys

sys.path = [ sys.path[0], '/path/to/pylons'] + sys.path[1:]

That does the trick for me in normal python applications, it should
work in pylons as well.

Regards,
Jens

On 9/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> On Sep 11, 4:57 am, "Jens Hoffrichter" <[EMAIL PROTECTED]>
> wrote:
> > I think you need to add the pylons path to the library paths in python.
> >
> > I normally do something like this:
> >
> > import sys
> >
> > sys.path =
>
> I had done that:
>
> pkg_resources.working_set.add_entry('/path/to/pylons')
> sys.path.append('/path/to/pylons')
>
> But it didn't work. It coplained about not being able to find the
> middleware module.
>
>
> >
>

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