epydoc - can I provide multiple dirs to parse

Montaseri montaseri at gmail.com
Mon Oct 5 14:18:51 EDT 2009


Thank you

It looks like it is possible to feed multiple dirs,

Also, can you explain the --inheritance=STYLE for me. What does the author
mean by values like "grouped", "listed", "included"
I could not find any good document explaining these...

Thanks
Medi

On Mon, Oct 5, 2009 at 2:09 AM, Jean-Michel Pichavant <
jeanmichel at sequans.com> wrote:

> 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()
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091005/a2909c8e/attachment-0001.html>


More information about the Python-list mailing list