diff options
author | Philippe Blain <levraiphilippeblain@gmail.com> | 2020-11-12 10:21:34 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-11-17 15:59:43 -0500 |
commit | cc6bbbeb1c824da64a59fbd1a483c780bc121c3b (patch) | |
tree | 371a929478de3e72de3ee7d4d1d6d0f2095ed283 /thanks-am-template.example | |
parent | dc5f193cb5db91279fbbb3a13c9e59e659afd39b (diff) | |
download | b4-cc6bbbeb1c824da64a59fbd1a483c780bc121c3b.tar.gz |
Distribute the manpage with the pip package
The 'data_files' option to setuptools.setup can be used to install
additional files "outside" of the package [1].
Use it so that the manpage is installed with the package.
Install the manpage to '$PREFIX/share/man/man5', mimicking what the
Filesystem Hiararchy Standard mandates for the '/usr/local/' prefix [2].
Prefer '$PREFIX/share/man/man5' to '$PREFIX/man/man5' since the later is
deprecated [3].
[1] https://docs.python.org/3/distutils/setupscript.html#installing-additional-files
[2] https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html#idm236091648080
[3] https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html#ftn.idm236091648080
Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Diffstat (limited to 'thanks-am-template.example')
0 files changed, 0 insertions, 0 deletions