You can include other pure Python libraries with your application by putting the code in your application directory. If you make a symbolic link to a module's directory in your application directory, appcfg.py will follow the link and include the module in your app.
您需要在项目中包含库,以便应用程序引擎运行时知道您要导入的内容。
来自here:
添加
httplib2
作为第三方库,如下所述:https://cloud.google.com/appengine/docs/python/tools/libraries27#vendoring
安装方式:
我已经创建了一个简单的例子来说明在使用Google App Engine时如何做到这一点。(https://github.com/muanis/foursquare-oauth-bootstrap)基本上需要Google oAuth2客户端(http://code.Google.com/p/Google-api-python-Client/)和httplib2(http://code.Google.com/p/httplib2/)
相关问题 更多 >
编程相关推荐