Using "external" components such as MySQL (was: [Zope] dd)

Dieter Maurer dieter@handshake.de
Sun, 4 Mar 2001 23:24:13 +0100 (CET)


Patrick Miller writes:
 > how do I tell zope which python to use. and add the zmysqlda to it?
The script "start" controls which Python is used.
The environment variable "PYTHONHOME" (defined in "start")
controls where the Python infrastructure is searched for.

You can use the environment variable "PYTHONPATH"
to let Python look at additional places
for modules and packages. PYTHONPATH is a colon separated
list of directories.

Alternatively, you can make appropriate symbolic links to the
external components (usually in "<zope_dir>/lib/python".


Dieter