Pyramid 1.3和Google App Engine 1.7 [英] Pyramid 1.3 and Google App Engine 1.7

查看:154
本文介绍了Pyramid 1.3和Google App Engine 1.7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我设法在Google App Engine SDK 1.7上运行Pyramid 1.2 WSGI应用程序。但是,我目前的项目使用了几个新的Pyramid 1.3功能,并且我陷入了WebOb版本问题。以下是错误消息:

  VersionConflict:(WebOb 1.1.1(/ home / matt / Python / google_appengine / lib / webob_1_1_1) ,Requirement.parse('WebOb> = 1.2dev')

必须等待新的GAE发布?

解决方案

管理金字塔应用程序的一个相当可靠的方法,它依赖于appengine, pyramid_appengine 库,它会生成一个使用 buildout



免责声明:我今年在pycon上撰写了这篇文章, p>

I managed to make a Pyramid 1.2 WSGI app run on Google App Engine SDK 1.7. However, my current project uses several new Pyramid 1.3 features and I'm stuck on a WebOb version issue. Here's the error message:

VersionConflict: (WebOb 1.1.1 (/home/matt/Python/google_appengine/lib/webob_1_1_1), Requirement.parse('WebOb>=1.2dev')

Is there something I can do or I must wait for a new GAE release?

解决方案

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.

这篇关于Pyramid 1.3和Google App Engine 1.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆