Is it possible to have Zope2 buildout unpack python files into their normal directories like how standard python modules do, and not under separate .egg directories? It makes looking for files easier when debugging.
Is it possible to have Zope2 buildout unpack python files into their normal directories
Share
The ‘regular’ setup doesn’t support namespaced packages very well, where multiple eggs share a top-level name (such as
plone.appandzope, etc.)Use the
collective.recipe.omelettebuildout recipe to build a ‘regular’ setup, it uses symlinks to give you a searchable structure of all eggs used.You’ll find the result in
parts/omelette. Note that this structure uses symlinks, so if you use tools likefindorackmake sure to configure them to follow symlinks (e.g.find parts/omelette -Landack --follow).The omelette directory structure is not used by Python itself, it is purely intended for presenting a coherent library structure from all eggs used in your buildout.
Note that for Windows, you need to install the junction utility as well for the recipe to work.