epydoc - can I provide multiple dirs to parse
Jean-Michel Pichavant
jeanmichel at sequans.com
Mon Oct 5 05:09:06 EDT 2009
Medi wrote:
> Can I present multiple directories to epydoc to process. For example
>
> epydoc -option -option -option dir_1 dir_2 dir_3
>
> where dir_i is a directory containing some python src codes ?
>
> I am currently running it on two directories with about 10M + 20 Meg
> which takes a very long time (more than 40 minutes) and strace(1) is
> showing mmap(2) ops back to back....might not be related but the
> process gets wedged somewhere
>
> Thanks
> Medi
>
Here is an ugly python script we are using to build the doc.
#!/usr/bin/python
# coding: utf-8
if __name__ == '__main__':
import sys
try :
import epydoc
except ImportError:
print "Error while importing epydoc"
print "Make sure it is installed"
from epydoc.cli import cli
modules = ['dir_1','dir_2','dir_3']
sys.argv = ["epydoc.py", "--html", "--no-frame", "--parse-only",
"--exclude=.*scripts.bug.*",
"--graph=all",
#"--no-sourcecode",
"--inheritance=grouped",
"-v",
"--output",
"/home/labsys/public_html"
] + sys.argv[1:]
sys.argv += modules
cli()
More information about the Python-list
mailing list