Package: buildout.minitagificator
.. contents::Introduction============- This packages aims to replace some buildout parts by minitage's ones.- It replaces:- All zc.recipe.egg recipes but zc.recipe.custom:develop- zc.buildout.easy_install.install.Installer- zc.recipe.cmmiInstallation=============- just add *buildout.minitagificator* to your buildout 's extension variable like ::[buildout]extensions = buildout.minitagificatorMakina Corpus sponsored software======================================|makinacom|_* `Planet Makina Corpus <http://www.makina-corpus.org>`_* `Contact us <mailto:python@makina-corpus.org>`_.. |makinacom| image:: http://depot.makina-corpus.org/public/logo.gif.. _makinacom:  http://www.makina-corpus.comTIPS========-   set ``minitage-globalenv`` in buildout for the extension to set cflagsand other things borrowed from the project minibuild if any::[minitagificator]minitage-globalenv = true- it will look for a section ``[minitagificator]`` to have regular options likeextra-flags, path or includes to add to the environment (seeminitage.recipe.common)::[minitagificator]cflags = -I/foo/barpath = /foo/baz/binTests for buildout.minitagificator buildout extension-------------------------------------------------------Let's create a buildout configuration file::>>> data = """... [buildout]... parts =...     part... extensions = buildout.minitagificator... [part]... recipe=iw.recipe.cmd... on-install=true... on-update=true... cmds=ls... [egg]... recipe=zc.recipe.egg:eggs... eggs=zc.buildout... [script]... recipe=zc.recipe.egg:scripts... eggs=zc.buildout... scripts=buildout... """>>> rmdir(tempdir, 'buildout.test')>>> cd(tempdir)>>> sh('mkdir buildout.test')mkdir buildout.test<BLANKLINE>>>> cd('buildout.test')>>> touch('buildout.cfg', data=data)>>> ls('.')buildout.cfgRun the buildout and see the patch in action :=)::>>> a= [mkdir(d) for d in ('eggs', 'develop-eggs', 'bin', 'src')]>>> install_develop_eggs(['buildout.minitagificator'])>>> install_eggs_from_pathes(['buildout.minitagificator'], sys.path)>>> buildout('bootstrap')Creating directory '/tmp/buildout.test/parts'.Generated script '/tmp/buildout.test/bin/buildout'.>>> sh('bin/buildout -vvvvv')bin/buildout...Installing part.buildout.minitagificator: Minitaging some recipesbuildout.minitagificator: !!!! Can't patch zc.recipe.egg.(Scripts|Eggs): No module named recipe.eggbuildout.minitagificator: !!!! Can't patch zc.recipe.egg.custom.Custom.buildout.minitagificator: !!!! Can't patch zc.recipe.cmmi<BLANKLINE>We also monkey patch zc.recipe.egg stuff, to get our eggs happily installed with minitage recipes.::>>> sh('bin/buildout install egg')bin/buildout install egg...buildout.minitagificator: Minitaging Buildout Installerbuildout.minitagificator: Minitaging Buildout scriptsbuildout.minitagificator: Minitaging Buildout Optionsbuildout.minitagificator: Minitaging some recipes...minitage.recipe: Replaced ('zc.recipe.egg', 'eggs') with ('minitage.recipe.egg', 'default')...Installing egg...buildout.minitagificator: Minitaging some recipes...<BLANKLINE>>>> sh('bin/buildout install script')bin/buildout install script...buildout.minitagificator: Minitaging Buildout Installerbuildout.minitagificator: Minitaging Buildout scriptsbuildout.minitagificator: Minitaging Buildout Optionsbuildout.minitagificator: Minitaging some recipes...minitage.recipe: Replaced ('zc.recipe.egg', 'scripts') with ('minitage.recipe.scripts', 'default')...Installing script....buildout.minitagificator: Minitaging some recipesminitage.recipe: Installing console scripts.minitage.recipe: Installing python egg(s).minitage.recipe: Picked: zc.buildout ...minitage.recipe: Picked: setuptools ...minitage.recipe: Generated scripts: 'buildout'.<BLANKLINE>Changelog=========2.4.29 (2013-06-26)-------------------- fix cmmi API to use install-in-place by default2.4.28 (2013-03-16)-------------------- fix scripts api2.4.27 (2013-02-25)-------------------- fix cmmi api2.4.26 (2013-02-21)-------------------- fix release2.4.25 (2013-02-19)-------------------- buildout2 compat2.4.24 (2012-09-02)-------------------- add minitagificator section option reading2.4.21 (2012-07-24)-------------------- scripts bugfix2.4.18 (2012-06-05)-------------------- zc.buildout 1.5 support- compatibility with buildout.dumppickedversions- Drop unusued recipes dependency- fix entry point parsing for scripts wrapper2.4.9------- Snowleopard and crossplatform fix according to relatedminitage.recipe.egg improvments (r.platform_scan() adds)2.4.8------- more distribute friendly2.4.2---------- offline mode bugfix2.4.1------- up tests2.4.0------- more robust code for monkey patch2.3.9-------- up to minitage.recipe.*-> 2.3.8------------ fix tests- add minitage-globalenv2.3.3 -> 2.3.5------------------- filtration of scripts2.3------ fix buildout initialization problem2.1 -> 2.2---------------* fix tests (the only 2.2 change is in the test;)* bugfix on egg cache searching* bugfix on scripts filtering2.0------ 1.0 compatibility- zc.recipe.cmmi is now wrapped1.6-----* Get an absolute path for python!1.5--------* Refactor code* Add a wrapper to zc.buildout.easy_install.scripts* Make it work with relative-paths1.4---------* code cometics1.1  -> 1.2------------* packaging1.0----------------* Initial release