[Zope] Using PyDoc with Zope products
Etienne Labuschagne
ELabuschagne@gims.com
Tue, 3 Sep 2002 12:24:38 +0200
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------_=_NextPart_001_01C25334.1B558730
Content-Type: text/plain;
charset="iso-8859-1"
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
------_=_NextPart_001_01C25334.1B558730
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Zope] Using PyDoc with Zope products</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=3D2>Hi Chris,</FONT>
</P>
<P><FONT SIZE=3D2>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).</FONT></P>
<P><FONT SIZE=3D2>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.</FONT></P>
<P><FONT SIZE=3D2>Regards</FONT>
<BR><FONT SIZE=3D2>Etienne</FONT>
</P>
<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Chris Withers [<A =
HREF=3D"mailto:chrisw@nipltd.com">mailto:chrisw@nipltd.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, September 03, 2002 11:26 AM</FONT>
<BR><FONT SIZE=3D2>To: Etienne Labuschagne</FONT>
<BR><FONT SIZE=3D2>Cc: 'zope@zope.org'</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Zope] Using PyDoc with Zope =
products</FONT>
</P>
<BR>
<P><FONT SIZE=3D2>Hey Etienne,</FONT>
</P>
<P><FONT SIZE=3D2>bit louder this time:</FONT>
<BR><FONT SIZE=3D2>STOP POSTING IN HTML!</FONT>
</P>
<P><FONT SIZE=3D2>Etienne Labuschagne wrote:</FONT>
<BR><FONT SIZE=3D2>> </FONT>
<BR><FONT SIZE=3D2>> I have manually added the \lib\python path of =
Zope into the pydoc.py </FONT>
<BR><FONT SIZE=3D2>> file but it has problems importing =
Persistent. After looking at the </FONT>
<BR><FONT SIZE=3D2>> Persistence folder I see it's empty and the doc =
string says it is "jump </FONT>
<BR><FONT SIZE=3D2>> started" by the __init__.py method.</FONT>
</P>
<P><FONT SIZE=3D2>Sounds like it needs Zope to be available.</FONT>
<BR><FONT SIZE=3D2>Try putting your Zoep root dir, and <Zope root =
dir>/lib/python in the PYTHONPATH </FONT>
<BR><FONT SIZE=3D2>environment variable.</FONT>
</P>
<P><FONT SIZE=3D2>That said, I think Dieter did a better doc sucker =
that was aimed at Zope </FONT>
<BR><FONT SIZE=3D2>specifically...</FONT>
</P>
<P><FONT SIZE=3D2>cheers,</FONT>
</P>
<P><FONT SIZE=3D2>Chris</FONT>
</P>
</BODY>
</HTML>
------_=_NextPart_001_01C25334.1B558730--