Search code examples
pythongoogle-app-enginetipfy

tipfy on Google App Engine (GAE) installing extensions


I'm trying to get tipfy working on Google App Engine (GAE). I'm using Windows XP.

The "hello world" example is working fine. What I'm don't understand is how to correctly install extensions.

I'm trying to use the "multi-auth" example without much success.

I'm receiving the following error:

ImportError: No module named wtforms.validators

I've tried installing the extension, as per the documentation, which says to run:

bootstrap.py --distribute

Which returns:

Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.14.tar.gz

Extracting in d:\temp\tmp2frf61

Now working in d:\temp\tmp2frf61\distribute-0.6.14

Building a Distribute egg in d:\temp\tmpq4-j_v

warning: no files found matching 'Makefile' under directory 'docs'

warning: no files found matching 'indexsidebar.html' under directory 'docs'

d:\temp\tmpq4-j_v\distribute-0.6.14-py2.5.egg

install_dir d:\temp\tmpq4-j_v

I then run:

bin/buildout

and get the following:

While: Initializing. Error: Couldn't open D:\downloads\tipfy.0.6.3.build\project\bin\buildout.cfg

Because that file doesn't exist in the bin directory, which I'm assuming should have been placed there after I've ran:

bootstrap.py --distribute


Solution

  • You should run bin/buildout from the dir where buildout.cfg is sitting, not from the bin dir. Do something like this

    cd D:\downloads\tipfy.0.6.3.build\project
    start bin/buildout