Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Simple buildout recipe for downloading git repositories. It uses system git command and its syntax

Project Description

Welcome to git-recipe doc page


Recipe clones git repository and checkouts to revision, if it is provided in configuration. You can use recipe like this:

For python

parts = data

recipe = git-recipe
repository = git://
ref = origin/redevlop-branch
as_egg = True
newest = True

For static resouces

recipe = git-recipe
repository = git://
ref = origin/master
download-directory = ${buildout:directory}/static/js/

For django plugins with bad repository name

recipe = git-recipe
repository = git://
ref = origin/master
repo_name = paypal
as_egg = True


repository - repository url

ref - git reference wich you want to checkout.For example, it can be a
branch name or a tag name like “origin/master”、or “v1.0”.

download-directory - If filled it will make the clone in this folder.

repo_name - If filled it will change the repository name.

as_egg - Set to True if you want the checkout to be registered as a
development egg in your buildout.

newest - always download newest repository, default is true.

And you can use buildout’s global offline configure.


This is a fork of gitrecipe , which doesn’t support the as_egg feature of zerokspot.recipe.git .


  • 0.2 add custom repository name for django plugins.
  • 0.1 add custom directory support for static resources.
  • 0.0.4 determine repository now support ‘.’ and ‘_’ in its name.
  • 0.0.3 add offline/newest configuration.

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(5.1 kB) Copy SHA256 Hash SHA256
Source None Feb 25, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting