Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Pylons on Google App Engine article
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jason S.  
View profile  
 More options Oct 15 2009, 5:00 pm
From: "Jason S." <jas...@tuffmail.com>
Date: Thu, 15 Oct 2009 14:00:06 -0700 (PDT)
Local: Thurs, Oct 15 2009 5:00 pm
Subject: Re: Pylons on Google App Engine article

> > 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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.