Building custom eggs
Custom egg building
[buildout]
parts = spreadmodule
[spreadtoolkit]
recipe = zc.recipe.cmmi
url = http://yum.zope.com/buildout/spread-src-3.17.1.tar.gz
[spreadmodule]
recipe = zc.recipe.egg:custom
egg = SpreadModule ==1.4
find-links = http://www.python.org/other/spread/
include-dirs = ${spreadtoolkit:location}/include
library-dirs = ${spreadtoolkit:location}/lib
rpath = ${spreadtoolkit:location}/lib
Sometimes a distribution has extension modules that need to be compiled with special options, such as the location of include files and libraries, The custom recipe supports this. The resulting eggs are placed in the develop-eggs directory because the eggs are buildout specific.
This example illustrates use of the zc.recipe.cmmi recipe with supports installation of software that uses configure, make, make install. Here, we used the recipe to install the spread toolkit, which is installed in the parts directory.
Part dependencies
- Parts can read configuration from other parts
- The parts read become dependencies of the reading parts
- Dependencies are added to parts list, if necessary
- Dependencies are installed first
Custom develop eggs
[buildout] parts = zodb [zodb] recipe = zc.recipe.egg:develop setup = zodb define = ZODB_64BIT_INTS

