Some of the information here may be outdated, please check the book instead
[edit]

Here is a way to run doctests on gql.py from a web2py dir:

The trick is to put the appengine path on the sys.path and then run the file (gluon/contrib/gql.py). The appengine path will vary based on your platform.

export PYTHONPATH=.:/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine

python gluon/contrib/gql.py

© 2008-2010 by Massimo Di Pierro - All rights reserved - Powered by web2py - design derived from a theme by the earlybird
The content of this book is released under the Artistic License 2.0 - Modified content cannot be reproduced.