When to use buildout: eggs and when to install via zc.recipe.egg?

There seem to be several ways to install eggs in a buildout.

Method 1:

[buildout]
...
eggs = 
     eggname
     othereggname
...

Method 2:

[buildout]
...
parts = eggs

[eggs]
recipe = zc.recipe.egg
eggs = eggname
     = othereggname

Both methods work. (The option on path 2 would have to set each requirement as a separate part.)

What is the difference between these two methods?

For my projects, I use buildout with djangorecipe and mr.developer.

+5
source share
1 answer

In both cases, "eggs =" makes these eggs available for this part, which means that they are set.

Assembly eggs do not receive any additional treatment.

, "recipe = zc.recipe.egg" , . ( "console_scripts", distutils "scripts =", btw)

: [buildout], ( "myproject" ). djangorecipe "egg = ${buildout: eggs}".

[console_scripts] zc.recipe.egg, , , . , pep8.

+2

All Articles