GAE should use 2.7, not 2.5

This commit is contained in:
mdipierro
2014-03-29 17:28:45 -05:00
parent 49f4e38658
commit 29ca1872b0
6 changed files with 29 additions and 12 deletions
+4 -9
View File
@@ -3,19 +3,15 @@
# See http://code.google.com/appengine/docs/python/config/appconfig.html
# and http://web2py.com/book/default/chapter/11?search=app.yaml
application: web2py
application: yourappname
version: 1
api_version: 1
# use this line for Python 2.5
#
runtime: python
# use these lines for Python 2.7
# upload app with: appcfg.py update web2py (where 'web2py' is web2py's root directory)
#
# runtime: python27
# threadsafe: true # true for WSGI & concurrent requests (Python 2.7 only)
runtime: python27
threadsafe: true # true for WSGI & concurrent requests (Python 2.7 only)
default_expiration: "24h" # for static files
@@ -45,8 +41,7 @@ handlers:
upload: applications/welcome/static/robots.txt
- url: .*
script: gaehandler.py # CGI
# script: gaehandler.wsgiapp # WSGI (Python 2.7 only)
script: gaehandler.wsgiapp # WSGI (Python 2.7 only)
secure: optional
admin_console: