forked from Grunny/zap-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
70 lines (62 loc) · 1.76 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
"""
ZAP CLI tool for targeted tests from the command line.
.. moduleauthor:: Daniel Grunwell (grunny)
"""
import ast
import os
import re
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'zapcli', '__init__.py'), 'rb') as f:
version = str(ast.literal_eval(re.search(
r'__version__\s*=\s*(.*)', f.read().decode('utf-8')).group(1)))
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name='zapcli',
version=version,
description='A ZAP CLI tool for targeted tests from the command line.',
long_description=long_description,
url='https://github.com/Grunny/zap-cli',
author='Daniel Grunwell (grunny)',
author_email='[email protected]',
license='MIT',
packages=[
'zapcli',
'zapcli.commands',
],
install_requires=[
'click==4.0',
'python-owasp-zap-v2.4==0.0.14',
'requests==2.13.0',
'tabulate==0.7.5',
'termcolor==1.1.0',
'six==1.10.0',
],
extras_require={
'dev': [
'coverage==3.7.1',
'ddt==1.0.1',
'mock==2.0.0',
'pep8==1.6.2',
'pylint==1.5.5',
'pytest==3.0.7',
'responses==0.5.1',
],
},
include_package_data=True,
entry_points={
'console_scripts': [
'zap-cli=zapcli.cli:cli',
],
},
test_suite='tests',
classifiers=[
'Topic :: Security',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
],
)