Hi Chris,
Sorry about the HTML, had Outlook set on Richtext (should've checked it), but it's probably also an HTML-like format (Please let me know if it is still wrong - got it set on Plain Text now).
I've added the /lib/python path, but I think the Persistent class (or something) is added dynamically when Zope starts, so pydoc's main gripe is about that. Anyway, Dieter's "doc sucker" sounds like a better alternative - I'll check it out.
Regards
Etienne
-----Original Message-----
From: Chris Withers [mailto:chrisw@nipltd.com]
Sent: Tuesday, September 03, 2002 11:26 AM
To: Etienne Labuschagne
Cc: 'zope@zope.org'
Subject: Re: [Zope] Using PyDoc with Zope products
Hey Etienne,
bit louder this time:
STOP POSTING IN HTML!
Etienne Labuschagne wrote:
>
> I have manually added the \lib\python path of Zope into the pydoc.py
> file but it has problems importing Persistent. After looking at the
> Persistence folder I see it's empty and the doc string says it is "jump
> started" by the __init__.py method.
Sounds like it needs Zope to be available.
Try putting your Zoep root dir, and <Zope root dir>/lib/python in the PYTHONPATH
environment variable.
That said, I think Dieter did a better doc sucker that was aimed at Zope
specifically...
cheers,
Chris