forked from Netflix-Skunkworks/swag-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
67 lines (58 loc) · 1.57 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
"""
SWAG Client
===========
Is a python client to interface with the SWAG service.
It also provides some helpful functions for dealing with accounts (aws or otherwise)
"""
import sys
import os.path
from setuptools import setup, find_packages
ROOT = os.path.realpath(os.path.join(os.path.dirname(__file__)))
sys.path.insert(0, ROOT)
about = {}
with open(os.path.join(ROOT, "swag_client", "__about__.py")) as f:
exec(f.read(), about)
install_requires = [
'marshmallow>=2.13.5,<3.0.0',
'boto3>=1.3.7',
'tabulate>=0.7.7',
'dogpile.cache>=0.6.4',
'click>=6.7',
'click-log>=0.2.1',
'jmespath>=0.9.3',
'deepdiff>=3.3.0',
'retrying>=1.3.3',
'simplejson>=3.16.0'
]
tests_require = [
'pytest==3.1.3',
'moto',
'coveralls==1.1'
]
setup(
name=about["__title__"],
version=about["__version__"],
author=about["__author__"],
author_email=about["__email__"],
url=about["__uri__"],
description=about["__summary__"],
long_description='See README.md',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={
'tests': tests_require
},
entry_points={
'console_scripts': [
'swag-client = swag_client.cli:cli',
],
'swag_client.backends': [
'file = swag_client.backends.file:FileSWAGManager',
's3 = swag_client.backends.s3:S3SWAGManager',
'dynamodb = swag_client.backends.dynamodb:DynamoDBSWAGManager'
]
},
keywords=['aws', 'account_management']
)