Pyramid 1.3 and Google App Engine 1.7

对着背影说爱祢 提交于 2019-12-05 21:53:31

A fairly reliable way to manage your pyramid application and it's dependencies on appengine is via the pyramid_appengine library which generates a skeleton project that uses buildout.

disclaimer: I wrote this as part of the pyramid sprint at pycon this year.

You can always bundle your own version of webob with your application:

In your application directory do:

wget http://pypi.python.org/packages/source/W/WebOb/WebOb-1.2.2.zip
unzip WebOb-1.2.2.zip
mv WebOb-1.2.2/webob .
rm -fR WebOb-1.2.2*

And redeploy your application.

I ended up modifying lib/python2.7/site-packages/pyramid-1.3.2-py2.7.egg/EGG-INFO/requires.txt in my virtualenv. I changed WebOb >= 1.2dev for WebOb >= 1.1.1 and it worked!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!