Skip to main content

Buildout recipes for App Engine.

Project description

MuL App Engine Recipes

Buildout recipes for App Engine.

App Engine SDK Recipe

Given a URL pointing to a Google App Engine Python SDK zip file, this recipe a) downloads the file and b) unzips the file and c) creates top-level Python scripts that invoke corresponding top-level SDK scripts.

Downloading uses and respects the options in the buildout.cfg’s buildout section. Specifically, downloaded files are cached in the download-cache directory and files are never downloaded in offline mode.

The downloaded file (cached or not) is unzipped into the recipe’s part directory. The top level of the SDK directory is then scanned for Python scripts. For each SDK script a corresponding script is generated and placed in buildout’s bin-directory. The generated script simply invokes the SDK script, passing along arguments. Buildout’s relative-paths option is respected. Or, at least, it should be.

The list of generated scripts can be filtered using the scripts option. By default its value is ‘*’. If a ‘*’ appears anywhere in the list all scripts will be generated. Otherwise, only those scripts mentioned in the option (with or without a ‘.py’ extension) will be generated.


scripts:A space-delimited list of Python script names or ‘*’. The default is ‘*’.
url:The url to the Google App Engine Python SDK zip file. Required.


recipe = mul.recipe.appengine:sdk

url = \

App Engine Lib Recipe

Given a list of eggs, this recipe a) computes their working set and then b) copies that working set into the specified lib-directory. (This recipe only copies eggs; it doesn’t download or install them.) The lib-directory is created each time the part is installed and deleted each time the part is uninstalled.

Eggs are copied unless they’re in the ignore-eggs list. The top-level packages of each egg are copied unless they’re in the ignore-packages list. The files and directories of each package are copied unless they’re in the ignore-files list. The ignore-files list supports globs. You must, of course, filter packages and files with care; eggs aren’t written to expect that kind of install-time surgery.

When an egg is copied its egg-info is also copied. The egg-info can be used for example by pkg_resources to locate package resources at runtime. The egg-info is copied in a manor similar to’s --single-version-externally-managed install option; the egg-info directories are siblings of the package directories.

The eggs that are copied can be either zipped or unzipped.


eggs:A newline-delimited list of eggs to copy. The default is an empty list.
ignore-eggs:A newline-delimited list of eggs to ignore when copying. The default is an empty list.
 A newline-delimited list of packages to ignore when copying. The default is an empty list.
ignore-files:A newline-delimited list of file globs to ignore when copying. The default is an empty list.
lib-directory:The directory to copy the egg-info and packages to. Required.


recipe = mul.recipe.appengine:lib

eggs =
ignore-eggs =
ignore-packages =
ignore-files =
lib-directory = develop/MyEgg/lib


0.4.0 (2015-06-01)

  • Fixes & Simplifications.

0.3.0 (2015-05-31)

  • Configuration tweaks.

0.2.0 (2015-05-31)

  • Documentation tweaks.

0.1.0 (2015-05-31)

  • First release on PyPI.

Project details

Download files

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

Files for mul.recipe.appengine, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size mul.recipe.appengine-0.4.0-py2-none-any.whl (10.9 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size mul.recipe.appengine-0.4.0.tar.gz (16.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page