> > unless it's added to the path somehow. BTW, I don't think GAE
> > uses .pth files, which is why sys.path manipulation is necessary.
>
> It *seems *like this isn't true. If I omit pth files when uploading to GAE,
> my app is failing with a 500 error. But I wouldn't trust that yet... can you
> do a test on your setup and see if you need or don't need the .pth files?
> (up to and including easy_install)

I think it ignores pth files. I just did a test with the SDK and a
barebones directory structure:

app.py
app.yaml
test.pth
mydir/
    myfile.py

test.pth contains ./mydir. app.py tries to "import myfile" and fails
to do so. Whereas if I add "mydir" to sys.path in app.py it works
immediately.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to