forked from Netflix-Skunkworks/aardvark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
78 lines (65 loc) · 1.65 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
71
72
73
74
75
76
77
78
"""
Aardvark
=====
Multi-Account AWS IAM Access Advisor API
:copyright: (c) 2017 by Netflix
:license: Apache, see LICENSE for more details.
"""
from __future__ import absolute_import
import sys
import os.path
from setuptools import setup, find_packages
ROOT = os.path.realpath(os.path.join(os.path.dirname(__file__)))
# When executing the setup.py, we need to be able to import ourselves, this
# means that we need to add the src/ directory to the sys.path.
sys.path.insert(0, ROOT)
about = {}
with open(os.path.join(ROOT, "aardvark", "__about__.py")) as f:
exec(f.read(), about)
install_requires = [
'requests>=2.9.1',
'better_exceptions==0.1.7',
'Bunch==1.0.1',
'Flask-SQLAlchemy==2.2',
'cloudaux>=1.2.0',
'Flask==0.12.1',
'Flask-RESTful==0.3.5',
'Flask-Script==2.0.5',
'flasgger==0.6.3',
'gunicorn==19.7.1',
'psycopg2==2.7.1',
'pytz==2017.2',
'subprocess32==3.2.7',
'swag-client==0.2.10',
'tqdm==4.11.2'
]
tests_require = [
'pexpect>=4.2.1'
]
docs_require = [
]
dev_requires = [
]
setup(
name=about["__title__"],
version=about["__version__"],
author=about["__author__"],
author_email=about["__email__"],
url=about["__uri__"],
description=about["__summary__"],
long_description=open(os.path.join(ROOT, 'README.md')).read(),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={
'tests': tests_require,
'docs': docs_require,
'dev': dev_requires,
},
entry_points={
'console_scripts': [
'aardvark = aardvark.manage:main',
],
}
)