[Doc-SIG] PythonDoc - how to run

Stuart Reynolds S.I.Reynolds@cs.bham.ac.uk
Wed, 10 Nov 1999 18:05:50 +0000


Hi,

I've just installed PythonDoc on my system hoping to use it produce
documentation for one of our projects. I'm having a bit of trouble
getting it to output anything:


% ls
MDP.py    MDP.pyc
% pythondoc MDP.py
Error: Couldn't import MDP (exceptions.ImportError: No module named MDP)

Same result with,
% pythondoc -d ../docs MDP.py
% pythondoc -d ../docs -i MDP.py
% pythondoc -d ../docs -i -v MDP.py
% pythondoc -d ../docs -i -s ../docs MDP.py

While from the directory above,
% pythondoc reps/MDP.py
% pythondoc -d docs reps/MDP.py

produces nothing (no output and no errors).

Any ideas? Or have I misread the README file?

Cheers

Stuart

PS. This is under Python 1.5.2 on Solaris.