Skip to main content

Simple GAE-extension for buildout

Project description

Introduction

zojax.mr.gae is a zc.buildout extension that alows to install GAE libs that distributed with GAE in development mode. This extension is supposed to be used with rod.recipe.googleapengine recipe. Eggs that distributed with GAE are discovered by buildout as generic eggs.

Usage

Add zojax.mr.gae to the extensions entry in your [buildout] section:

[buildout]
extensions = mr.developer

The format of entries in the [gae_source] section is:

[sources]
url = url
extraxt_dir = path to dir
eggs = list

Where individual parts are:

url

Link to Google App Engine.

extraxt_dir

The path to directory where Google App Engine will be stored

eggs

The names of the package that will be installed from Google App Engine libs.

Example

Thet is a simple example of buildout config.:

[buildout]
develop = src/inboxer

parts = PIL
        app
        py-utils
        tests
        ipython-unix

extensions = zojax.mr.gae

[sources]
jinja2 = fs jinja2
webob_1_1_1 = fs webob_1_1_1
webapp2 = fs webapp2
yaml = fs yaml

[gae_source]
url = http://googleappengine.googlecode.com/files/google_appengine_1.6.4.zip
extraxt_dir = parts
eggs = jinja2
       webob_1_1_1
       webapp2
       yaml
       django_1_3

[versions]
Django = 1.3.1
rod.recipe.appengine = 2.0.0


[app]
recipe = rod.recipe.appengine
eggs = inboxer
       jinja2
       webapp2
       PyYaml
       Django

packages = inboxer
           wtforms

server-script=dev_appserver
src = src/inboxer
zip-packages=False
url=${gae_source:url}
extra-paths = ${PIL:extra-path}

[py-utils]
recipe=zc.recipe.egg
eggs= pastescript
      utils
      WebTest
      ${app:eggs}
extra-paths= ${tests:extra-paths}


[pep8]
recipe = zc.recipe.egg
eggs = pep8

Project details


Release history Release notifications | RSS feed

This version

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zojax.mr.gae-0.3.tar.gz (3.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page