-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (37 loc) · 1.24 KB
/
setup.py
File metadata and controls
41 lines (37 loc) · 1.24 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
from setuptools import find_packages, setup
import versioneer
def read_md(filename):
try:
from pypandoc import convert
return convert(filename, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
return open(filename, 'r').read()
setup(
name='pytest-check-mk',
version=versioneer.get_version(),
url='https://github.com/tom-mi/python-pytest-check_mk/',
license='GPLv2',
author='Thomas Reifenberger',
install_requires=['pytest'],
author_email='tom-mi at rfnbrgr.de',
description='pytest plugin to test Check_MK checks',
long_description=read_md('README.md'),
packages=find_packages(),
platforms='any',
classifiers=[
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: System :: Monitoring',
],
cmdclass=versioneer.get_cmdclass(),
entry_points={
'pytest11': [
'pytest_check_mk = pytest_check_mk.plugin',
],
},
)