-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
95 lines (84 loc) · 2.41 KB
/
setup.py
File metadata and controls
95 lines (84 loc) · 2.41 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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__license__ = """
C# _
# /\ | |
# / \ _ __ ___| |__ ___ _ __ _ _
# / /\ \ | '__/ __| '_ \ / _ \ '__| | | |
# / ____ \| | | (__| | | | __/ | | |_| |
# /_/ \_\_| \___|_| |_|\___|_| \__, |
# __/ |
# |___/
# Copyright (C) 2017-2018 ArcherySec
# This file is part of ArcherySec Project.
"""
from setuptools import (
find_packages,
setup,
)
import ast
import os
import re
from pathlib import Path
def read(rel_path):
init = Path(__file__).resolve().parent / rel_path
return init.read_text('utf-8', 'ignore')
def get_version(rel_path):
for line in read(rel_path).splitlines():
if line.startswith('__version__'):
return line.split('\'')[1]
raise RuntimeError('Unable to find version string.')
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name='archerysec_cli',
version=get_version('archerysec_cli/__init__.py'),
description='A commandline tool that wraps'
' the Archerysec REST API for'
' controlling Archery and executing '
'quick, targeted scans.',
long_description=long_description,
url='https://github.com/archerysec/archerysec-cli.git',
author='Anand Tiwari',
author_email=' ',
license=' ',
packages=find_packages(include=[
'archerysec_cli', 'archerysec_cli.*',
]),
install_requires=[
'click',
'docker==5.0.0',
'idna==2.10',
'jmespath==0.10.0',
'python-dateutil==2.8.1',
'PyYAML',
'websocket-client==0.58.0',
'wget==3.2',
],
extras_require={
'dev': [
'coverage',
'ddt',
'mock',
'pep8',
'pylint',
'pytest',
'responses',
]
},
include_package_data=True,
entry_points={
'console_scripts': [
'archerysec-cli=archerysec_cli.cli.cli:main',
],
},
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',
],
)