読者です 読者をやめる 読者になる 読者になる

When it’s ready.

出来るまで出来ない

Kay お試し中

インスコしてあるPythonの状態

$ python --version
Python 2.6
which python
/usr/local/bin/python

Project作ってみる

Running on Kay-0.0.0
/Users/atusi/repos/google_code/kay-framework/kay/lib/werkzeug/__init__.py:109: UserWarning: Module yaml was already imported from /Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/yaml/lib/yaml/__init__.py, but /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyYAML-3.06-py2.6-macosx-10.3-i386.egg is being added to sys.path
  version = __import__('pkg_resources').get_distribution('Werkzeug').version
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:232: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert (txdata.thread_id == thread.get_ident(),
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:299: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert (txdata.thread_id == thread.get_ident(),
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:312: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert (txdata.thread_id == thread.get_ident(),
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:338: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert (txdata.thread_id == thread.get_ident(),
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:370: SyntaxWarning: assertion is always true, perhaps remove parentheses?
  assert (txdata[txid].thread_id == thread.get_ident(),
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:68: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/datastore_file_stub.py:40: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/Users/atusi/repos/google_code/kay-framework/kay/lib/pytz/tzinfo.py:5: DeprecationWarning: the sets module is deprecated
  from sets import Set
Finished creating new project: myproject.

テストサーバ起動してみる

python manage.py runserver
Running on Kay-0.0.0
/Users/atusi/Dropbox/repos/bitbucket/kay-sample/myproject/kay/lib/werkzeug/__init__.py:109: UserWarning: Module yaml was already imported from /Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/lib/yaml/lib/yaml/__init__.pyc, but /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyYAML-3.06-py2.6-macosx-10.3-i386.egg is being added to sys.path
  version = __import__('pkg_resources').get_distribution('Werkzeug').version
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/ext/remote_api/remote_api_stub.py:68: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
/Applications/MyApp/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/api/datastore_file_stub.py:40: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/Users/atusi/Dropbox/repos/bitbucket/kay-sample/myproject/kay/lib/pytz/tzinfo.py:5: DeprecationWarning: the sets module is deprecated
  from sets import Set
INFO     2009-07-07 16:39:52,494 appengine_rpc.py:157] Server: appengine.google.com
INFO     2009-07-07 16:39:52,500 appcfg.py:322] Checking for updates to the SDK.
INFO     2009-07-07 16:39:52,692 appcfg.py:336] The SDK is up to date.
WARNING  2009-07-07 16:39:52,696 datastore_file_stub.py:404] Could not read datastore data from /var/folders/c8/c8XI1sokEmCp78m8GFE+Zk+++TI/-Tmp-/kay_myproject.datastore.history
WARNING  2009-07-07 16:39:52,706 dev_appserver.py:3296] Could not initialize images API; you are likely missing the Python "PIL" module. ImportError: No module named _imaging
INFO     2009-07-07 16:39:52,713 dev_appserver_main.py:465] Running application myproject on port 8080: http://localhost:8080