pydoc does not like this file

Jesus Rivero - (Neurogeek) jrivero at python.org.ve
Thu Mar 23 13:47:25 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hmmm guess -w should be after python and not after pydoc:

python -w c:\python24\Lib\pydoc.py  .\setup.py

And i also guess you are missing a command after setup.py (if you are
using py2exe, that must be the command you are looking for.) so try this:

$ python -w c:\python24\Lib\pydoc.py .\setup.py py2exe

Best Regards,

   Jesús Rivero - (Neurogeek)

Joram Agten wrote:

> Hello please put me in CC
>
> I'm trying pydoc as documentation for my projects but I have the
> following problem when runnig pydoc on my whole project there is
> also a file setup.py (from py2exe) but pydoc gives me the following
> for that file:
>
> [D:\programming\trunk\tecap\joag\checkvalue]python
> c:\python24\Lib\pydoc.py -w .\setup.py problem in .\setup.py -
> SystemExit: usage: pydoc.py [global_opts] cmd1 [cmd1_opts] [cmd2
> [cmd2_opts] ...] or: pydoc.py --help [cmd1 cmd2 ...] or: pydoc.py
> --help-commands or: pydoc.py cmd --help
>
> error: option -w not recognized
>
> there are no statements or functions in that file, and also no
> documentation anybody has any idea?
>
> joram


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEIu09dIssYB9vBoMRAmfOAJ4h9mb5PgD/ZTWdh1VDu6GMvAb5DgCfTpPz
4UgOQcwkH6VhPQpjZI15nW0=
=W2ZS
-----END PGP SIGNATURE-----




More information about the Python-list mailing list