From dev_appserver.py:
DIR_PATH = os.path.abspath(os.path.dirname(os.path.realpath(__file__))) # ... EXTRA_PATHS = [ DIR_PATH, os.path.join(DIR_PATH, 'lib', 'antlr3'), os.path.join(DIR_PATH, 'lib', 'django'), os.path.join(DIR_PATH, 'lib', 'fancy_urllib'), os.path.join(DIR_PATH, 'lib', 'ipaddr'), os.path.join(DIR_PATH, 'lib', 'webob'), os.path.join(DIR_PATH, 'lib', 'yaml', 'lib'), ] # ... sys.path = EXTRA_PATHS + sys.path
I think it should work if you put these bits in a separate script and import it before importing your own code.
Or, as you pointed out, use the Appengine console in the SDK (but this is not the case for Linux users).
source share