Joe Goldthwaite wrote at 2004-2-23 14:58 -0700:
... Where do you define the Pythonpath for Zope?
In the environment variable "PYTHONPATH" (from Zope 2.7 on, you can extend it (sometimes) from the configuration file).
I know there's some funky stuff about the way Zope handles external modules.
There is not special treatmend for (normal) modules. There are funky stuff for "External Methods" but apparently we do not speak about them...
I don't really understand it and I think that's why I'm having trouble figuring this one out.
The primary source of the python path is the environment variable PYTHONPATH (on windows, it can be determined by a registry entry). Zope extends it a bit (to find its infrastructure). Python extends it a bit (to find its runtime library. Your application can further extend it a bit. You can see the effective Python path in "Control_Panel --> Debug information". Watch out for "sys.path". -- Dieter