Egg extras not installed for recipes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Automatic installation of eggs required by an egg extra doesn't seem to
work for a recipe used with zc.buildout as documented for eggs in general:
Suppose myrecipe has two entry points, the "fancy" one employing
yourrecipe. Now if I declare yourrecipe as an extra requirement only to be
installed if the "fancy" entry point is used to install any buildout part:
myrecipe/setup.py:
...
setup(...
entry_
"default = myrecipe.
"fancy = myrecipe.bar:Recipe [bar_extra]", ]},
extras_
)
and use myrecipe I get a pkg_resources.
concerning yourrecipe. It sort of works if I manually copy the yourrecipe
egg to the eggs directory beforehand, though.
Yup, extras are not always conserved by zc.buildout. easy_install. _constrain. Installer. _constrain( ).
I see at least one place which it occurs, In zc.buildout.
As i use personnaly minitage.recipe:egg in flavor of zc.recipe.egg, i work arounded that in this recipe. git.minitage. org/git/ minitage/ eggs/minitage. recipe/ tree/src/ minitage/ recipe/ egg/__init_ _.py
You can see the result there (_constrain()):
http://