本文适用于 Mac 下的IntelliJ IDEA 12(需要python插件)
目前google官方提供的 Google App Engine SDK for Python Mac版,安装后得到GoogleAppEngineLauncher.app,是一个辅助程序,而真正的Google App Engine SDK 被放在了它的资源目录下。
假设GoogleAppEngineLauncher.app路径为:
/Applications/GoogleAppEngineLauncher.app
那么Google App Engine SDK路径为:
/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine
因此在Mac 下的IntelliJ IDEA 12 中新建python项目并引用Google App Engine时,填入上述路径即可。