[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE:building manpages via setup.py



> Simplest I can think of would be to build the extensions inplace
> followed by the call to build_man. Something like:

> override_dh_auto_build:
>         dh_auto_build
>         python3 setup.py build_ext --inplace
>         python3 setup.py build_man

I do not want to build once more the ext (it takes a lot's of time on my computer and it is a wast of ressources).
I just want to run {interpreter} setup.py build_man <options>

where

<options> are provided by pybuild

> I left the http_proxy exports and nodoc guards out for clarity.

thanks ;)

>  Second questions what is the right way to generate the man pages for a python application ?

> Usually via Sphinx if the upstream documentation uses it. Regardless of
> the stack, `help2man` is often considered the poor man choice for
> generating manpages.

Thanks, I know this but I need more time to convince the upstream to find a better solution :)

> Let me know if you'd like me to have a look :-)

thanks a lot

Fred

Reply to: