-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsetup.py
37 lines (33 loc) · 1.17 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
import re
import unittest
from distutils.command.build import build
from setuptools import setup
VERSION = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]",
open('aws_ir_plugins/_version.py', 'r').read(),
re.MULTILINE
).group(1)
def test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='test_*.py')
return test_suite
setup(name="aws_ir_plugins",
version=VERSION,
author="Andrew Krug, Alex McCormack, Joel Ferrier, Jeff Parr",
packages=["aws_ir_plugins"],
package_data={'aws_ir_plugins': ['templates/*.j2']},
license="MIT",
description="AWS Incident Response ToolKit Core Supported plugins",
url='https://github.com/ThreatResponse/aws_ir_plugins',
download_url="",
use_2to3=True,
test_suite=('setup.test_suite'),
install_requires=['boto3>=1.3.0',
'requests',
'jinja2',
],
tests_require=['moto',
'mock',
'magicmock'],
)