-
Notifications
You must be signed in to change notification settings - Fork 13
/
setup.py
33 lines (26 loc) · 877 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
"""
setup.py
"""
from setuptools import setup
from sys import path
path.insert(0, '.')
NAME = "zabbix_rsyslog"
if __name__ == "__main__":
setup(
name = NAME,
version = "1.0.2",
author = "facastagnini",
author_email = "[email protected]",
url = "https://github.com/facastagnini/zabbix-rsyslog",
license = 'APL 2.0',
packages = [NAME],
package_dir = {NAME: NAME},
data_files = [ ('/etc/rsyslog.d', ['10-impstats.conf']),
('/etc/zabbix_agentd.d', ['rsyslogdiscovery.conf']),
('/etc/logrotate.d', ['rsyslogd-impstats']) ],
description = "Send rsyslog impstats output to zabbix",
entry_points={
'console_scripts': [
'rsyslog-impstats.py = zabbix_rsyslog.rsyslog_impstats:main' ],
}
)