Zipped Eggs on AppEngine

guido posted a work around to the issue of making zipped eggs work on appengine. Cool! forward z3 on gae :-)

http://code.google.com/p/googleappengine/issues/detail?id=161

About these ads

6 Comments

Filed under cloud, python, zope

6 responses to “Zipped Eggs on AppEngine

  1. Thanks for posting this.

  2. Mykola

    >>> forward z3 on gae
    I ran z3 at gae sdk (without zcatalog and on MappingStorage) but i have problems uploading zope3.zip (5mb ) to gae.
    I can’t split it to zope1.zip, zope2.zip … and then sys.path.append(zope1.zip) sys.path.append(zope2.zip) because when i write

    >> import zope.interface #

    First python is looking for ‘zope’ package(it found it in zope1.zip) and than it looks for ‘interface’ package within ‘zope’ package. It can’t found ‘interface’ package because it is located in zope2.zip

    second problem is zcml. Evan i can import from zip – i can’t read zcml from zip

  3. Mykola

    >> forward z3 on gae
    See this http://quinta-zodb.appspot.com/@@contents.html user-admin/pass-admin For now it running at MappingStorage . I know – it has many bugs but it works!

  4. nice work! that looks pretty good. how did you fix zcml/template loading from zips?

  5. Mykola

    >>how did you fix zcml/template loading from zips?how did you fix zcml/template loading from zips?

    try:
    f = open(path)
    except IOError:
    from zipsplit_import import idx_open
    f = idx_open(path)

    )

  6. Mykola

    http://worldcookery.appspot.com/http://worldcookery.com/ example . It may not run from first time (DeadlineExceededError) Try to open page several times within 3 minutes

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s