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:
@ -1 +1 @@
|
|||||||
include man/jc.1.gz
|
include jc/man/jc.1.gz
|
||||||
|
BIN
jc/man/jc.1.gz
Normal file
BIN
jc/man/jc.1.gz
Normal file
Binary file not shown.
BIN
man/jc.1.gz
BIN
man/jc.1.gz
Binary file not shown.
@ -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')
|
||||||
|
Reference in New Issue
Block a user