-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
56 lines (48 loc) · 1.62 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
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
# coding=utf-8
from setuptools import setup, find_packages
import nagiosunity
def read_requires(filename):
with open(filename, "r") as f:
return f.read().splitlines()
def read_raw(filename):
with open(filename, "r") as f:
return f.read()
setup(
name='nagios-unity',
version=nagiosunity.__version__,
description=(
'Unity plugin for Nagios.'
),
long_description=read_raw('README.rst'),
author='Peter Wang',
author_email='peter.wang13@dell.com',
maintainer='Peter Wang',
maintainer_email='peter.wang13@dell.com',
license='Apache Software License',
packages=find_packages(),
platforms=["all"],
url='http://github.com/thecodeteam/nagios-unity',
classifiers=[
'Development Status :: 4 - Beta',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries'
],
install_requires=read_requires('requirements.txt'),
tests_require=read_requires('test-requirements.txt'),
entry_points={
'console_scripts': [
'nagios-unity=nagiosunity.cli.client:main',
],
},
)