1
|
|
|
""" |
2
|
|
|
Simplify AWS ECS deployments |
3
|
|
|
""" |
4
|
|
|
from setuptools import find_packages, setup |
5
|
|
|
|
6
|
|
|
from ecs_deploy import VERSION |
7
|
|
|
|
8
|
|
|
|
9
|
|
|
def readme(): |
10
|
|
|
with open('README.rst') as f: |
11
|
|
|
return f.read() |
12
|
|
|
|
13
|
|
|
|
14
|
|
|
dependencies = ['click<7.0.0', 'botocore>=1.17.47', 'boto3>=1.14.47', 'future', 'requests', 'dictdiffer==0.8.0'] |
15
|
|
|
|
16
|
|
|
setup( |
17
|
|
|
name='ecs-deploy', |
18
|
|
|
version=VERSION, |
19
|
|
|
url='https://github.com/fabfuel/ecs-deploy', |
20
|
|
|
download_url='https://github.com/fabfuel/ecs-deploy/archive/%s.tar.gz' % VERSION, |
21
|
|
|
license='BSD-3-Clause', |
22
|
|
|
author='Fabian Fuelling', |
23
|
|
|
author_email='[email protected]', |
24
|
|
|
description='Powerful CLI tool to simplify Amazon ECS deployments, ' |
25
|
|
|
'rollbacks & scaling', |
26
|
|
|
long_description=readme(), |
27
|
|
|
packages=find_packages(exclude=['tests']), |
28
|
|
|
include_package_data=True, |
29
|
|
|
zip_safe=False, |
30
|
|
|
platforms='any', |
31
|
|
|
install_requires=dependencies, |
32
|
|
|
entry_points={ |
33
|
|
|
'console_scripts': [ |
34
|
|
|
'ecs = ecs_deploy.cli:ecs', |
35
|
|
|
], |
36
|
|
|
}, |
37
|
|
|
tests_require=[ |
38
|
|
|
'mock', |
39
|
|
|
'pytest', |
40
|
|
|
'pytest-flake8', |
41
|
|
|
'pytest-mock', |
42
|
|
|
'freezegun', |
43
|
|
|
'coverage' |
44
|
|
|
], |
45
|
|
|
classifiers=[ |
46
|
|
|
'Environment :: Console', |
47
|
|
|
'Intended Audience :: Developers', |
48
|
|
|
'License :: OSI Approved :: BSD License', |
49
|
|
|
'Operating System :: POSIX', |
50
|
|
|
'Operating System :: MacOS', |
51
|
|
|
'Operating System :: Unix', |
52
|
|
|
'Programming Language :: Python', |
53
|
|
|
'Programming Language :: Python :: 2', |
54
|
|
|
'Programming Language :: Python :: 3', |
55
|
|
|
'Topic :: Software Development :: Libraries :: Python Modules', |
56
|
|
|
] |
57
|
|
|
) |
58
|
|
|
|