epydoc.py has this hack:
import sys, os.path
script_path = os.path.abspath(sys.path)
sys.path = [p for p in sys.path if
os.path.abspath(p) != script_path]
epydoc (without the ".py") doesn't have this. On my
Gentoo Linux system (Python 2.4.2), it fails for the
same reason as would epydoc.py without it. Adding
those three lines fixes it.
Log in to post a comment.