-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
32 lines (29 loc) · 883 Bytes
/
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
'''
validatehttp - HTTP request spec validation
===========================================
Using a spec file in JSON or YAML, run requests
'''
from setuptools import setup, find_packages
setup(
name='validatehttp',
version=0.1,
description='Validate a list of HTTP request spec against a host',
long_description=__doc__,
keywords='nagios url',
author='Anthony Johnson',
author_email='[email protected]',
license='MIT',
packages=find_packages(),
install_requires=['requests', 'pyyaml', 'termcolor'],
extras_require={
'Nagios': ['pynag'],
},
tests_require=['pytest', 'mock', 'pyyaml'],
test_suite='nose.collector',
entry_points = {
'console_scripts': [
'check_validatehttp=validatehttp.nagios:CheckURLSpecPlugin.run',
'validatehttp=validatehttp.cli:ValidatorCLI.cli'
],
}
)