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!

zc.buildout recipes to compile and install software or python packages and generate scripts or configuration files sponsored by Makina Corpus.

Project Description


The egg has those entry point:

  • fetch: recipe for fetching something, somewhere, with git, http, frp, static, hg, svn or bzr.

You can browse the code on minitage’s following resources:

You can migrate your buldouts without any effort with buildout.minitagificator:



  • This recipe can be used to fetch something from somewhere to some location of your local fileystem This something can be either an url or a set of urls.

  • Thus by:

    • git
    • svn
    • ftp, http, file:// (urllib)
    • bazaar
    • mercurial

Specific options

Please look for options at :

  • urls See the shared options for more information on how to set them.

  • For the static fetcher, you can precise md5sum in the ‘revision’ field.

  • set unpack to automaticly unpack a downloaded archive, like:


Detailled documentation

The divide url function test:

- If you dont precise the directory, its the basename of the url::

    >>> divide_url ('http://foo/bar|svn|666||--ignore-externals')
    ('http://foo/bar', 'svn', '666', '', '--ignore-externals')

- Static as a default::

    >>> divide_url ('')
    ('', 'static', '', '', '')

- arguements can be optionnal::

    >>> divide_url ('http://foo/bar')
    ('http://foo/bar', 'static', '', '', '')

Let’s create a buildout configuration file:

>>> rmdir(tempdir)
>>> mkdir(tempdir)
>>> cd(tempdir)
>>> a = [mkdir(d) for d in ('eggs', 'develop-eggs', 'bin', 'src')]
>>> install_develop_eggs(['minitage.recipe.fetch'])
>>> install_eggs_from_pathes(['zc.buildout'], sys.path)
>>> touch('buildout.cfg')
>>> sh('buildout -o bootstrap')
buildout -o bootstrap...

Initializing test env.

>>> if not os.path.exists('foo'):
...     mkdir('foo')
... else:
...     rmdir(foo)
...     mkdir('foo')
>>> touch('foo/configure', data ="""echo configure $@\n""")
>>> sh('chmod +x foo/configure')
>>> touch('foo/Makefile',
... data = """
... all:
... \t@echo all
... install:
... \t@echo install
... """)
>>> sh('tar cfz  foo.tgz foo')
tar cfz  ...

Downloading some urls, files, git checkouts with one in a particular checkout directory and a particular revision:

>>> data = """
... [buildout]
... download-cache=${buildout:directory}
... parts =
...     part
... [part]
... recipe=minitage.recipe.fetch
... urls =file://${buildout:directory}/foo.tgz
... """
>>> touch('buildout.cfg', data=data)
>>> sh('bin/buildout install part')
bin/buildout install part
Unused options for buildout: 'download-directory'.
Installing part.
minitage.recipe: Start checkouts
minitage.recipe: Completed dowbload of file:///tmp/buildout.test/foo.tgz in /tmp/buildout.test/parts/part/
minitage.fetchers.scm: Checkouted /tmp/buildout.test/parts/part/minitage.recipe.alt / (e1f30b9d7a89572fa87fe26f8e353304532a281c) [git].
minitage.recipe: Completed dowbload of in /tmp/buildout.test/parts/part/minitage.recipe.alt
minitage.fetchers.scm: Checkouted /tmp/buildout.test/parts/part/ / (HEAD) [git].
minitage.recipe: Completed dowbload of in /tmp/buildout.test/parts/part/
minitage.recipe: Finnished checkouts



  • fix bug on static fetching, (one upon another, content is removed)
  • fix invalid crossdevice link errors


  • fix develop link


  • fix api


  • forgot to version one file


  • splitted out from minitage.recipe
Release History

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 Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (18.1 kB) Copy SHA256 Checksum SHA256 Source Feb 12, 2010

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting