Installing manpage in setup.py

Papalagi Pakeha papalagi.pakeha at gmail.com
Sat Jun 16 06:46:51 EDT 2007


Hi all,

how can I tell setup() in distutils' setup.py to install manual pages
of my program? I.e. prgclient.1 to /.../man/man1 and prgdaemon.8 to
/.../man/man8? The problem is that those /.../ directories may be
different on every system, for instance /usr/share/man on OpenSUSE and
/usr/man on Solaris. Is there a way to automatically put the manpages
to their proper directories?

Thanks

PaPa



More information about the Python-list mailing list