Trying to set up my sites to run as "INSTANCE_HOME" I have a few packages that is defined outside the Products directory, like: "<ZOPE>/lib/python/mypackage" I have tried putting these in my INSTANCE_HOME directory, but my products cannot find them. Isn't it possible to do it like that? Do I really need to install those packages under my Zope install, or should I just put them in a special directory? or? regards Max M
Goto /Control_Panel/DebugInfo and have a look at the sys.path Both INSTANCE_HOME/lib/python and INSTANCE_HOME should be listed So, what you do should work ;-) Stefan --On Dienstag, 24. September 2002 11:27 +0200 Max M <maxm@mxm.dk> wrote:
Trying to set up my sites to run as "INSTANCE_HOME"
I have a few packages that is defined outside the Products directory, like:
"<ZOPE>/lib/python/mypackage"
I have tried putting these in my INSTANCE_HOME directory, but my products cannot find them. Isn't it possible to do it like that?
Do I really need to install those packages under my Zope install, or should I just put them in a special directory? or?
regards Max M
-- Those who write software only for pay should go hurt some other field. /Erik Naggum/
Stefan H. Holek wrote:
Goto /Control_Panel/DebugInfo and have a look at the sys.path Both INSTANCE_HOME/lib/python and INSTANCE_HOME should be listed
So, what you do should work ;-)
Well not if you are stupid enough to put your modules directly in "INSTANCE_HOME" instead of in "INSTANCE_HOME/lib/python" Putting it there made it work like a charm. Thanks. Is this documented or is it picked up by Ozmosis? regards Max M The reason I don't reach any higher is that I stand on the shoulders of midgets.
participants (2)
-
Max M -
Stefan H. Holek