9
9
10
10
here = os .path .abspath (os .path .dirname (__file__ ))
11
11
12
+
12
13
def read_file (* pathes ):
13
14
path = os .path .join (here , * pathes )
14
15
if os .path .isfile (path ):
@@ -17,12 +18,13 @@ def read_file(*pathes):
17
18
else :
18
19
return ''
19
20
21
+
20
22
desc_files = (('README.rst' ,), ('docs' , 'CHANGES.rst' ),
21
- ('docs' , 'CONTRIBUTORS.rst' ))
23
+ ('docs' , 'CONTRIBUTORS.rst' ))
22
24
23
25
long_description = '\n \n ' .join ([read_file (* pathes ) for pathes in desc_files ])
24
26
25
- install_requires = ['nagiosplugin' ]
27
+ install_requires = ['nagiosplugin' ]
26
28
27
29
if sys .version_info < (2 , 7 ):
28
30
extras_require = {'test' : ['setuptools' , 'mock' , 'unittest2' , 'argparse' ]}
@@ -34,11 +36,12 @@ def read_file(*pathes):
34
36
version = version ,
35
37
description = "Check OpenBGPD sessions Nagios|Icinga|shinken|etc plugin" ,
36
38
long_description = long_description ,
37
- platforms = ["any" ],
39
+ platforms = ["any" ],
38
40
# Get more strings from
39
41
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
40
42
classifiers = [
41
- "Programming Language :: Python" , "License :: OSI Approved :: BSD License" ,
43
+ "Programming Language :: Python" ,
44
+ "License :: OSI Approved :: BSD License" ,
42
45
'Development Status :: 5 - Production/Stable' ,
43
46
'Environment :: Plugins' ,
44
47
'Intended Audience :: Developers' ,
@@ -56,11 +59,11 @@ def read_file(*pathes):
56
59
],
57
60
keywords = "Nagios Icinga plugin check openbgpd openbsd monitoring" ,
58
61
author = "Jean-Philippe Camguilhem" ,
59
- author_email = "jp.camguilhem__at__gmail.com " ,
62
+ author_email = "jpcw__at__camguilhem.net " ,
60
63
url = "https://github.com/jpcw/checkopenbgpd/" ,
61
64
license = "BSD" ,
62
65
packages = find_packages ("src" ),
63
- package_dir = {"" : "src" },
66
+ package_dir = {"" : "src" },
64
67
include_package_data = True ,
65
68
zip_safe = False ,
66
69
install_requires = install_requires ,
0 commit comments