[Zope] Using python libraries

Tino Wildenhain tino@wildenhain.de
Sat, 10 Nov 2001 20:56:35 +0100


Hi,

--On Samstag, 10. November 2001 19:06 +0100 Jesper Holmberg <jesper.holmberg@enst-bretagne.fr> 
wrote:

> Hi all,
>
> I'm trying to create a new product. In my python code, I use some
> libraries (e.g. xml.dom.minidom) that are not present in my Zope
> installation. Where do I put these libraries so that they be available for
> python code run under Zope? Sorry if the question is a FAQ, but I haven't
> been able to find this in the docs.

This is only a problem if you have a different python for your
Zope then for the rest of the system.
I recommend avoiding this by using the source distribution where
possible. Under windows, you can also use the binary dist and
change start.bat to use the platform python (should be the same
version in any case)
Ok, either way, copy the files to your zopes python path or
add it to this path. see start/start.bat for this.

HTH
Tino Wildenhain