[Pkg-zope-developers] Products path

Encolpe DEGOUTE ed@nuxeo.com
Wed, 21 Jul 2004 14:37:41 +0200


Igor Stroh écrivit:

> Encolpe DEGOUTE wrote:
> >>I wonder what would be the appropriate path for a zope-foo package,
> >is>it still
> >>a) /usr/lib/zope/lib/python/Products
> >>or
> >>b) /usr/share/zope/Products
> >>
> >>If b) - should an existing package be "transitioned" to use new
> >>Products directory?
> > 
> > 
> > b) /usr/share/zope/Products
> > 
> > You cannot use /usr/lib/zope/lib/python/Products if your Zope
> > instances use incompatible products.
> 
> What do you mean by incompatible? If I'd like to install Products that
> don't "like"
> each other, I'd put them into the Products/ dir of the appropriate 
> instance, like
> /var/lib/zope[]2.7/instance/<instance name>/Products, right? Anyway,
> if a Product
> is incompatible with another Product then it's package should use the 
> appropriate
> "Conflicts: [..]".

That's why default installation path for Zope products have to be
'/usr/share/zope/Products'. It permits to remove conflicts between
Plone and CPS packages for example.
With Zope 2.6 and abive there's no reason to use something else that 
/var/lib/zope(|2.7)/instance/<instance name>/Products to install any
products but specific one like DirectoryStorage or ZopeTestCase.

Regards,
-- 
Encolpe DEGOUTE