jaymzh / pius

PGP Individual User Signer
Other
97 stars 25 forks source link

Manpages from Debian #66

Closed lechner closed 6 years ago

lechner commented 6 years ago

Would you like to ship the manpages from Debian? Thank you!

jaymzh commented 6 years ago

Yes please! Should we add them to the setup.py though? I know it doesn't handle them natively, but maybe like:

https://github.com/nose-devs/nose/blob/master/setup.py#L109

?

lechner commented 6 years ago

Looks good! Unfortunately, my Python skills are limited, and I can install the manpages either way. Would you like an update to the pull request or do you know how it should be done? Thank you!

jaymzh commented 6 years ago

You should be able to just add:

  'data_files': [
    (
      'man/man1': [
        'doc/pius-keyring-mgr.1',
        'doc/pius.1',
        'doc/pius-report.1'
        'doc/pius-party-worksheet.1'
      ]
    )
  ]

Give it a shot and see if it installs the right files into the right places for you.

lechner commented 6 years ago

The last commit works on Debian. We install manpages in /usr/share/man. Please feel free to change it. Thank you!

jaymzh commented 6 years ago

Awesome, thanks!