[Zope] Best place for libraries

Paul Winkler pw_lists at slinkp.com
Thu Mar 17 18:30:12 EST 2005


On Thu, Mar 17, 2005 at 08:03:18PM -0300, Gabriel Genellina wrote:
> Hello
> 
> I'm migrating from Zope 2.6 to 2.7 with an INSTANCE_HOME.
> In the previous setup, we had:
> 
> Zope
>   lib
>     python
>       <some shared libraries>
>       Products
>         <standard products plus some from external sources plus some 
> developed in-house>
>     java
>       <other Java packages comunicating via xml-rpc>
> 
> Now we have a SOFTWARE_HOME and an INSTANCE_HOME and I'm not sure where is 
> the best place for each directory.
> Our own products (which are specific for the application) surely go under 
> INSTANCE_HOME.
> But CookieCrumbler, by example, as an external product, should be under 
> Products in SOFTWARE_HOME or INSTANCE_HOME?

I typically put them all in INSTANCE_HOME/Products,
not distinguishing between third-party and in-house.

> What about some shared libraries not related explicitely to Zope (like 
> HyperText, an OO HTML generator)? Should be on SOFTWARE_HOME\lib\python? or 
> maybe outside the Zope dir, in lib\site-packages inside the Python install?

I do the latter.

 
-- 

Paul Winkler
http://www.slinkp.com


More information about the Zope mailing list