forked from jbfavre/python-protobix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·46 lines (40 loc) · 1.37 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/usr/bin/env python
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import pytest
options = "--cov protobix --cov-report term-missing"
try: import coverage
except ImportError: options = ""
errno = pytest.main(options)
raise SystemExit(errno)
setup(
name = 'protobix',
packages = ['protobix'],
version = '0.1.0',
install_requires = [
'configobj',
'simplejson',
'traceback2'
],
description = 'Implementation of Zabbix Sender protocol',
long_description = ( 'This module implements Zabbix Sender Protocol.\n'
'It allows to build list of items and send items and send '
'them as trapper.\n'
'It currently supports items as well as Low Level Discovery.' ),
author = 'Jean Baptiste Favre',
author_email = '[email protected]',
license = 'GPL-3+',
url='http://github.com/jbfavre/python-protobix/',
download_url = 'http://github.com/jbfavre/python-protobix/tarball/0.0.9',
keywords = ['monitoring','zabbix','trappers'],
classifiers = [],
cmdclass={'test': PyTest}
)