[Tutor] automatically generate python/pylons documentation

Marc Tompkins marc.tompkins at gmail.com
Sat Oct 18 17:59:20 CEST 2008


On Sat, Oct 18, 2008 at 6:45 AM, Arun Tomar <tomar.arun at gmail.com> wrote:

>
> I've a pylons web application in the directory called helloworld.
> if i give the command for epydoc to generate the documentation it
> gives the below mentioned errors:
>
>  epydoc helloworld/
>  Error: Directory 'helloworld/' is not a package
>  Error: Nothing left to document!
>
> Can you guide me how can i accomplish this task.
>

To turn a folder into a proper Python package, just create a file called
"__init__.py"
The file can be empty - that's probably good enough to let epydoc work
properly - but you can also add initialization and imports.

-- 
www.fsrtechnologies.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20081018/a9563721/attachment.htm>


More information about the Tutor mailing list