Collective zc.buildout recipes

omelette should add namespace declaration to Products/__init__.py

Reported by Harald Friessnegger on 2008-09-04
4
Affects Status Importance Assigned to Milestone
collective.buildout
Undecided
David Glick

Bug Description

i'm using omelette to collect all Products into one directory so i can use this in pydev to have code completion in eclipse for products too

[omelette]
# we're using omplette to collect all zope2 style products
# so pydev can add them to the pythonpath, too
recipe = collective.recipe.omelette
eggs =
products = ${instance:products}

[pydev]
recipe = pb.recipes.pydev
#collect eggs
eggs =
    ${instance:eggs}
extra_paths =
    ${omelette:location}
    ${zope2:location}/lib/python/

after every buildout i need to add a namespace declaration to
parts/omelette/Products/__init__.py to make code completion work

would be great to add this to omelette instead of the #mushroom placeholder

David Glick (davisagli) wrote :

I took a stab at fixing this in http://dev.plone.org/collective/changeset/71509 ... can you check out collective.recipe.omelette from https://svn.plone.org/svn/collective/buildout/collective.recipe.omelette/trunk, add it to your develop-eggs, and confirm that it does what you want?

Changed in collective.buildout:
assignee: nobody → davisagli
status: New → Fix Committed
Harald Friessnegger (frisi) wrote :

hi david.
this fix solves the problem described above and will ease zope2 development with eclipse alot.
thank you!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers