epydoc (without the ".py") needs sys.path hack
Brought to you by:
edloper
epydoc.py has this hack:
import sys, os.path
script_path = os.path.abspath(sys.path[0])
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.
Logged In: YES
user_id=195958
Thanks for pointing this out. (The intention was that you
would copy the 'epydoc' script to some other directory,
but it really should work from the scripts/ directory
too.) Fixed in subversion revision 1285.