Skip to content

Commit b738009

Browse files
committed
pep008 and change mail
1 parent 80d5af8 commit b738009

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

setup.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
here = os.path.abspath(os.path.dirname(__file__))
1111

12+
1213
def read_file(*pathes):
1314
path = os.path.join(here, *pathes)
1415
if os.path.isfile(path):
@@ -17,12 +18,13 @@ def read_file(*pathes):
1718
else:
1819
return ''
1920

21+
2022
desc_files = (('README.rst',), ('docs', 'CHANGES.rst'),
21-
('docs', 'CONTRIBUTORS.rst'))
23+
('docs', 'CONTRIBUTORS.rst'))
2224

2325
long_description = '\n\n'.join([read_file(*pathes) for pathes in desc_files])
2426

25-
install_requires=['nagiosplugin']
27+
install_requires = ['nagiosplugin']
2628

2729
if sys.version_info < (2, 7):
2830
extras_require = {'test': ['setuptools', 'mock', 'unittest2', 'argparse']}
@@ -34,11 +36,12 @@ def read_file(*pathes):
3436
version=version,
3537
description="Check OpenBGPD sessions Nagios|Icinga|shinken|etc plugin",
3638
long_description=long_description,
37-
platforms = ["any"],
39+
platforms=["any"],
3840
# Get more strings from
3941
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
4042
classifiers=[
41-
"Programming Language :: Python", "License :: OSI Approved :: BSD License",
43+
"Programming Language :: Python",
44+
"License :: OSI Approved :: BSD License",
4245
'Development Status :: 5 - Production/Stable',
4346
'Environment :: Plugins',
4447
'Intended Audience :: Developers',
@@ -56,11 +59,11 @@ def read_file(*pathes):
5659
],
5760
keywords="Nagios Icinga plugin check openbgpd openbsd monitoring",
5861
author="Jean-Philippe Camguilhem",
59-
author_email="jp.camguilhem__at__gmail.com",
62+
author_email="jpcw__at__camguilhem.net",
6063
url="https://github.com/jpcw/checkopenbgpd/",
6164
license="BSD",
6265
packages=find_packages("src"),
63-
package_dir = {"": "src"},
66+
package_dir={"": "src"},
6467
include_package_data=True,
6568
zip_safe=False,
6669
install_requires=install_requires,

0 commit comments

Comments
 (0)