mirror of
git://holbrook.no/eth-monitor.git
synced 2024-11-21 03:56:47 +01:00
Add man in packaging, add missing config dir in manifest
This commit is contained in:
parent
f2733b50f9
commit
705bdc9471
@ -1 +1 @@
|
||||
include *requirements.txt LICENSE CHANGELOG WAIVER WAIVER.asc eth_monitor/data/config/*
|
||||
include *requirements.txt LICENSE CHANGELOG WAIVER WAIVER.asc eth_monitor/data/config/* man/build/*.1
|
||||
|
12
Makefile
12
Makefile
@ -1,10 +1,12 @@
|
||||
PREFIX ?= /usr/local
|
||||
BUILD_DIR = build/$(PREFIX)/share/man
|
||||
#BUILD_DIR = build/$(PREFIX)/share/man
|
||||
MAN_DIR = man
|
||||
|
||||
man:
|
||||
mkdir -vp $(BUILD_DIR)
|
||||
chainlib-man.py -b 0xbf -v -n eth-monitor -d $(BUILD_DIR)/ man
|
||||
chainlib-man.py -b 0xbf -v -n eth-monitor-list -d $(BUILD_DIR)/ man
|
||||
chainlib-man.py -b 0xbf -v -n eth-monitor-import -d $(BUILD_DIR)/ man
|
||||
mkdir -vp $(MAN_DIR)/build
|
||||
chainlib-man.py -b 0xbf -v -n eth-monitor -d $(MAN_DIR)/build $(MAN_DIR)
|
||||
cp -v $(MAN_DIR)/build/eth-monitor.1 $(MAN_DIR)/build/eth-monitor-sync.1
|
||||
chainlib-man.py -b 0xbf -v -n eth-monitor-list -d $(MAN_DIR)/build $(MAN_DIR)
|
||||
chainlib-man.py -b 0xbf -v -n eth-monitor-import -d $(MAN_DIR)/build $(MAN_DIR)
|
||||
|
||||
.PHONY: man
|
||||
|
@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = eth-monitor
|
||||
version = 0.7.3
|
||||
version = 0.7.4
|
||||
description = Monitor and cache transactions using match filters
|
||||
author = Louis Holbrook
|
||||
author_email = dev@holbrook.no
|
||||
@ -37,4 +37,5 @@ packages =
|
||||
|
||||
[options.entry_points]
|
||||
console_scripts =
|
||||
eth-monitor = eth_monitor.runnable.sync:main
|
||||
eth-monitor-sync = eth_monitor.runnable.sync:main
|
||||
|
7
setup.py
7
setup.py
@ -21,8 +21,13 @@ while True:
|
||||
test_requirements.append(l.rstrip())
|
||||
f.close()
|
||||
|
||||
|
||||
man_dir = 'man/build'
|
||||
setup(
|
||||
install_requires=requirements,
|
||||
tests_require=test_requirements,
|
||||
data_files=[("man/man1", [
|
||||
os.path.join(man_dir, 'eth-monitor.1'),
|
||||
os.path.join(man_dir, 'eth-monitor-sync.1'),
|
||||
]
|
||||
)],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user