appengine_xblock_runtime能在XBlock环境运行的开发包,尤其适用于在访问GoogleAppEngine数据库时。
在GoogleAppEngine应用程序的时候需注意以下几点:
Createalib/folderinyourapplication.
DownloadtheXBlockrepofromGitHubintoyourlib/folder.
Inthelib/XBlockfolder,execute:pythonsetup.pyegg_info
Downloadthisruntimepackageintoyourlib/folder.
Inthelib/appengine_xblock_runtimefolder,execute:pythonsetup.pyegg_info
Registerthetwopackagesbyincludinginyourapplicationcode:
评论