-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·58 lines (53 loc) · 2.2 KB
/
setup.py
File metadata and controls
executable file
·58 lines (53 loc) · 2.2 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#! /usr/bin/env python
__docformat__ = 'rst'
import os
from setuptools import setup, find_packages
from sys import version_info
long_description = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() + '\n\n' + open(os.path.join(os.path.dirname(__file__), 'HISTORY.rst')).read()
install_requires=(
'configobj>=4.7.2',
'pynsca>=1.2',
'requests>=0.10.1',
),
# Python 2.6 and below requires argparse
if version_info[:2] < (2, 7):
install_requires+=('argparse>=1.1', )
setup(
name='tanto',
version='1.1.1',
description='Takes monitoring data from Nagios-plugins to push with NSCA (Nagios or Icinga) or WS-Shinken.',
long_description=long_description,
author='Ludovic Gasc',
author_email='ludovic.gasc@eyepea.eu',
url='https://github.com/Eyepea/tanto',
packages=find_packages(),
scripts=['tanto'],
include_package_data=True,
zip_safe=False,
platforms='UNIX',
package_data={'monitoring_agent.inputs': ['configspecs/*.cfg'],
'monitoring_agent.outputs': ['configspecs/*.cfg']},
data_files=[('etc/tanto', ['etc/tanto/logging.ini']),
('etc/tanto/inputs', ['etc/tanto/inputs/nagios_plugins.cfg']),
('etc/tanto/outputs', ['etc/tanto/outputs/email.cfg',
'etc/tanto/outputs/nsca.cfg',
'etc/tanto/outputs/ws_shinken.cfg']),
('etc/cron.d', ['etc/cron.d/tanto'])],
license='GNU Affero General Public License v3',
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Natural Language :: English',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: System :: Monitoring',
'Topic :: System :: Networking :: Monitoring',
],
)