How to package a system dependency which is not python related software (not installed with distutils or setuptools) in minitage. The minitage category is “dependencies”.
You must install into minitage/dependencies/dependencyName/parts/part
You can use this sample throught paster:
easy_install minitage.paste paster create -t minitage.dependency dependencyName
The command just installed a project based on the minitage.recipe:cmmi recipe.
Hooks just point to python callables to do boilerplate that the classical ./configure && make && make install can not do.
You can set a lot of options to fine control the build process.
To know them, just create a project with paster and edit the generated buildout.cfg.
Minitage as a package manager will give you some means to refer to the dependencies.
At build time:
Packaging python things, distutils or setuptools. The minitage category is “eggs”.
For each python version supported, we will install a site-package-PYTHONVER in the parts buildout directory.
This recipe can install packages based on distutils that dont support yet setuptools. In this case, the goal is to install in a prefix the python module to make it come later in the python patn.
You can create a project based on this recipe with:
easy_install minitage.paste paster create -t minitage.distutils myproject
The resulted eggs will be put in the egg cache of the buildout section, the project lives in the eggs/ directory
This recipe can install packages based on setuptools.
You can either install from an url or an egg name.
You can install multiple eggs at a time.
You can create a project based on this recipe with:
easy_install minitage.paste paster create -t minitage.egg myproject
You can use this recipe to generate scripts registered in the egg or a python interpreter with a collection of eggs/python path.