■「Google App Engineプログラミング入門」4章
→Kay勉強するよ
◯プロジェクトサイト
http://code.google.com/p/kay-framework/
◯ドキュメントサイト
JP
http://kay-docs-jp.shehas.net/
ENG
http://kay-docs.shehas.net/
◯Google Group
JP
http://group.google.com/group/kay-users-ja
ENG
http://group.google.com/group/kay-users
■Mercurial というの使う
これでDL出来るよう
$ hg clone http://code.google.com/hg/ kay
→リリースバージョンを落とす
python kay/manage.py startproject myproject
manage.py ないよ
→kay-VERSIONの中にある・・
$ python manage.py startproject myproject Running on Kay-1.1.1 /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:71: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/dev_appserver_login.py:36: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 Traceback (most recent call last): File "manage.py", line 19, in <module> from kay.management import * File "/Users/shinriyo/Documents/GAE/kay-1.1.1/kay/management/__init__.py", line 33, in <module> from kay.management.extract_messages import do_extract_messages File "/Users/shinriyo/Documents/GAE/kay-1.1.1/kay/management/extract_messages.py", line 23, in <module> from babel.messages import Catalog File "/Users/shinriyo/Documents/GAE/kay-1.1.1/kay/lib/babel/messages/__init__.py", line 16, in <module> from babel.messages.catalog import * File "/Users/shinriyo/Documents/GAE/kay-1.1.1/kay/lib/babel/messages/catalog.py", line 26, in <module> from babel.dates import format_datetime File "/Users/shinriyo/Documents/GAE/kay-1.1.1/kay/lib/babel/dates.py", line 35, in <module> LC_TIME = default_locale('LC_TIME') File "/Users/shinriyo/Documents/GAE/kay-1.1.1/kay/lib/babel/core.py", line 662, in default_locale return '_'.join(filter(None, parse_locale(locale))) File "/Users/shinriyo/Documents/GAE/kay-1.1.1/kay/lib/babel/core.py", line 783, in parse_locale raise ValueError('expected only letters, got %r' % lang) ValueError: expected only letters, got 'utf-8'
・Python2.5.xがないとダメなのかな?
$ sudo port install python25
すごい、インストール後で、こんなコメントもでた
To fully complete your installation and make python 2.5 the default, please run sudo port install python_select sudo python_select python25