Re: [Zope] Using external methods
--- In zope@egroups.com, "Daniel G. Rusch" <drusch@g...> wrote:
How does one install third party python products such as PIL or ReportLab so that Zope's python interpreter can find it in it's path. ... Should I install them in the Extensions directory or where? How does one set the Zope python path? Or is the evaluator stuck half way up.
(1) If you have a tree of packaged modules, you might consider installing them under the (YourZopeRoot)/lib/python folder, remember to drop in a __init__.py in the root of your package. lib/python is the place where you want to install your python modules. (2) You can also add the python paths dynamically inside your z2.py file, if the modules are located elsewhere. The z2.py file is located at the root of your Zope installation. import sys sys.path.append('your path here') regards, Hung Jung ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
Zopesters: I am hosting on Beehive.de and do not have access to the site via ssh or telnet. I can import, and I have been having a fine time importing .zexp files and its fabu, but I do believe that I cannot import .tar.gz and .tgz files (and if I can, I am sorry, and I beg your forgiveness, I just have not had any luck) -- so I was wondering what my best solutions are and if you would be willing to help me or point me in the right direction. Cheers, Chris http://zdev.org
I use CodeIt, who also does not allow SSH or telnet access. I've always just untarred the tarballs on my PC and then uploaded the files via FTP. (WinZip does a dandy job of handling .tar.gz files, if you're running Windows). Kevin ----- Original Message ----- From: "Chris Abraham" <chris@URBAN.NET> To: <zope@zope.org> Sent: Wednesday, April 12, 2000 2:39 PM Subject: [Zope] Importing
I am hosting on Beehive.de and do not have access to the site via ssh or telnet.
I can import, and I have been having a fine time importing .zexp files and its fabu, but I do believe that I cannot import .tar.gz and .tgz files (and if I can, I am sorry, and I beg your forgiveness, I just have not had any luck) -- so I was wondering what my best solutions are and if you would be willing to help me or point me in the right direction.
participants (3)
-
Chris Abraham -
Hung Jung Lu -
Kevin Dangoor