Re: [Zope-CMF] Re: Adding python packages to ProductsPath

2007-02-10 Thread Wichert Akkerman
Hi Yuppie! Previously yuppie wrote: Hi Wichert! Wichert Akkerman wrote: At the moment it is not possible to use skin layers in pure python packages. This is caused by the DirectoryView implementation using a minimal path name for the layer id. This path name is created by

[Zope-CMF] Re: Adding python packages to ProductsPath

2007-02-08 Thread whit
Dieter Maurer wrote: yuppie wrote at 2007-1-23 18:55 +0100: ... Yes, I object. This is a hack that resolves the issue just for some special use cases. We need a solution that works with python packages anywhere in the python path. And packageresources

Re: [Zope-CMF] Re: Adding python packages to ProductsPath

2007-01-24 Thread Dieter Maurer
yuppie wrote at 2007-1-23 18:55 +0100: ... Yes, I object. This is a hack that resolves the issue just for some special use cases. We need a solution that works with python packages anywhere in the python path. And packageresources

[Zope-CMF] Re: Adding python packages to ProductsPath

2007-01-23 Thread Rocky Burt
Wichert Akkerman wrote: The patch below fixes this by adding $INSTANCE_HOME/lib/python to the ProductsPaths list. This allows minimalpath to find python packages installed there. Are there any objections to commiting this to trunk? I know we've had some larger discussions on this list

[Zope-CMF] Re: Adding python packages to ProductsPath

2007-01-23 Thread yuppie
Hi Wichert! Wichert Akkerman wrote: At the moment it is not possible to use skin layers in pure python packages. This is caused by the DirectoryView implementation using a minimal path name for the layer id. This path name is created by CMFCore.utils.minimalpath, which uses the ProductsPaths