[Zope] importing Python extensions
Alexander Staubo
alex@mop.no
Wed, 22 Sep 1999 02:05:01 +0200
Set the PYTHONPATH environment variable to include the directory in
which the module resides. Also, make sure the Zope process inherits this
variable.
--
Alexander Staubo http://www.mop.no/~alex/
"What the hell, he thought, you're only young once, and threw
himself out of the window. That would at least keep the element of
surprise on his side."
--Douglas Adams, _The Hitchhiker's Guide to the Galaxy_
> -----Original Message-----
> From: Chad McDaniel [mailto:chadm@sgi.com]
> Sent: 22. september 1999 01:21
> To: zope@zope.org
> Subject: [Zope] importing Python extensions
>
>
> If I have a python extention complied into a shared object (.so file)
> I can import it if it's in the current directory. If I want to import
> it into a Zope External Method where should I place it in
> order for it
> to be found on import? Placing it in the Extensions directory doesn't
> work.
>
> thanks
> --
> -chad
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
>
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
>
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>