I am trying to use PyDev on Eclipse Juno to create a GoogleAppEngine project. I am very new to Python and AppEngine. So PyDev asks me for Google App Engine Directory
which apparently is where the appcfg.py
file is. I have already installed the GAE and it works well with IDLE (I am using Mac).
Has anyone set this up successfully? Basically, I don't know where the directory is. I am of course assuming that's the only problem.
I have already tried to find appcfg.py
from the terminal using find . -name appcfg.py
, mdfind -name appcfg.py
, whereis appcfg.py
. But so far no success.
Try this:
Enter the following:
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/ GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/
For more details, see this.
Just to very quickly update this for Mavericks, I tried this, but Eclipse wouldn't see the "GoogleAppEngine-default.bundle" as a directory. It's a little weird, but I used "Quick Look" ("Ctl-Click, Quick Look", not just pressing the space bar) in the Open dialog box to open the Eclipse bundle, and then again for the .bundle directory. You have to actually click "Quick Look"; double-clicking doesn't seem to work. For some reason it then saw the bundle directory as a directory and allowed me to open it. After that, I just navigated to the directory @payala mentioned and it found all the files it needed.
来源:https://stackoverflow.com/questions/13533981/how-to-set-up-eclipse-pydev-for-google-app-engine-development