1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

add man page inside the pypi package for easier packaging in homebrew

This commit is contained in:
Kelly Brazil
2021-04-09 08:09:37 -07:00
parent d8ea9bde82
commit dd1ae6d9a7
4 changed files with 3 additions and 1 deletions

View File

@ -1 +1 @@
include man/jc.1.gz include jc/man/jc.1.gz

BIN
jc/man/jc.1.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -20,4 +20,6 @@ with open('man/jc.1', 'rb') as f_in:
with gzip.open('man/jc.1.gz', 'wb') as f_out: with gzip.open('man/jc.1.gz', 'wb') as f_out:
shutil.copyfileobj(f_in, f_out) shutil.copyfileobj(f_in, f_out)
shutil.copyfile('man/jc.1.gz', 'jc/man/jc.1.gz')
os.remove('man/jc.1') os.remove('man/jc.1')