We actually have 2 recipes for deploying pyramid on GAE.

http://docs.pylonsproject.org/projects/pyramid_cookbook/en/latest/deployment/index.html

Give those a try and if unsuccessful, maybe you can tell us what doesn't
work from the existing documentation?

Thanks!

On Fri, Mar 23, 2012 at 10:03 AM, Constantine Vasil <thst...@gmail.com>wrote:

> I was able to successfully run a "Hello World" Pyramid app
> using Python 2.5.
>
> I need to run Python 2.7 now.
>
> Here is what is needed:
> http://code.google.com/appengine/docs/python/python27/using27.html
>
> app.yaml
> =========================
> application: myapp
> version: 1
> runtime: python27
> api_version: 1
> threadsafe: true
>
> handlers:
> - url: /.*
>   script: myapp.app
> =========================
>
> I need to move my WSGI application object to the global scope:
> =========================
> import webapp2
>
> class MainPage(webapp2.RequestHandler):
>     def get(self):
>         self.response.headers['Content-Type'] = 'text/plain'
>         self.response.out.write('Hello, WebApp World!')
>
> app = webapp2.WSGIApplication([('/', MainPage)])
> =========================
>
> This example is using webapp2. Do I need to use webapp2,
> if so how to use Pyramid too?
>
> Any help would be much appreciated,
>
> Thank you in advance,
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "pylons-devel" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-devel/-/v_PBhGJhO8oJ.
> To post to this group, send email to pylons-devel@googlegroups.com.
> To unsubscribe from this group, send email to
> pylons-devel+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-devel?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to