forked from Yelp/paasta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
128 lines (124 loc) · 5.22 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
#!/usr/bin/env python
# Copyright 2015-2016 Yelp Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import glob
from setuptools import find_packages
from setuptools import setup
from paasta_tools import __version__
setup(
name='paasta-tools',
version=__version__,
provides=["paasta_tools"],
author='Kyle Anderson',
author_email='[email protected]',
description='Tools for Yelps SOA infrastructure',
packages=find_packages(exclude=("tests*", "scripts*")),
include_package_data=True,
install_requires=[
'a_sync >= 0.5.0',
'argcomplete >= 0.8.1',
'aiohttp >= 2.3.3',
'bravado == 8.4.0',
'choice == 0.1',
'chronos-python >= 1.2.0',
'cookiecutter == 1.4.0',
# Don't update this unless you have confirmed the client works with
# the Docker version deployed on PaaSTA servers
'docker-py == 1.2.3',
'dulwich >= 0.17.3',
'ephemeral-port-reserve >= 1.0.1',
'gevent == 1.1.1',
'humanize >= 0.5.1',
'inotify >= 0.2.8',
'isodate >= 0.5.0',
'jsonschema[format]',
'kazoo >= 2.0.0',
'marathon >= 0.9.3',
'progressbar2 >= 3.10.0',
'pyramid >= 1.8',
'pymesos >= 0.2.0',
'pyramid-swagger >= 2.3.0',
'pysensu-yelp >= 0.3.4',
'pytimeparse >= 1.1.0',
'pytz >= 2014.10',
'python-crontab>=2.1.1',
'python-dateutil >= 2.4.0',
'python-iptables',
'retry',
'requests == 2.6.2',
'requests-cache >= 0.4.10,<= 0.5.0',
'sensu-plugin',
'service-configuration-lib >= 0.12.0',
'syslogmp',
'ujson == 1.35',
'yelp-clog >= 2.7.2',
],
scripts=[
'paasta_tools/am_i_mesos_leader.py',
'paasta_tools/autoscale_all_services.py',
'paasta_tools/check_marathon_services_replication.py',
'paasta_tools/check_oom_events.py',
'paasta_tools/cleanup_marathon_jobs.py',
'paasta_tools/paasta_deploy_chronos_jobs',
'paasta_tools/deploy_marathon_services',
'paasta_tools/generate_all_deployments',
'paasta_tools/generate_deployments_for_service.py',
'paasta_tools/generate_services_file.py',
'paasta_tools/generate_services_yaml.py',
'paasta_tools/get_mesos_leader.py',
'paasta_tools/list_marathon_service_instances.py',
'paasta_tools/marathon_dashboard.py',
'paasta_tools/monitoring/check_capacity.py',
'paasta_tools/monitoring/check_chronos_has_jobs.py',
'paasta_tools/monitoring/check_classic_service_replication.py',
'paasta_tools/monitoring/check_marathon_has_apps.py',
'paasta_tools/monitoring/check_mesos_active_frameworks.py',
'paasta_tools/monitoring/check_mesos_duplicate_frameworks.py',
'paasta_tools/monitoring/check_mesos_quorum.py',
'paasta_tools/monitoring/check_mesos_outdated_tasks.py',
'paasta_tools/monitoring/check_synapse_replication.py',
'paasta_tools/monitoring/kill_orphaned_docker_containers.py',
'paasta_tools/cli/paasta_tabcomplete.sh',
'paasta_tools/paasta_cluster_boost.py',
'paasta_tools/paasta_execute_docker_command.py',
'paasta_tools/paasta_maintenance.py',
'paasta_tools/paasta_metastatus.py',
'paasta_tools/paasta_remote_run.py',
'paasta_tools/paasta_serviceinit.py',
'paasta_tools/setup_marathon_job.py',
'paasta_tools/synapse_srv_namespaces_fact.py',
] + glob.glob('paasta_tools/contrib/*'),
entry_points={
'console_scripts': [
'paasta=paasta_tools.cli.cli:main',
'paasta-api=paasta_tools.api.api:main',
'paasta-deployd=paasta_tools.deployd.master:main',
'paasta_autoscale_cluster=paasta_tools.autoscale_cluster:main',
'paasta_cleanup_chronos_jobs=paasta_tools.cleanup_chronos_jobs:main',
'paasta_check_chronos_jobs=paasta_tools.check_chronos_jobs:main',
'paasta_list_chronos_jobs=paasta_tools.list_chronos_jobs:main',
'paasta_setup_chronos_job=paasta_tools.setup_chronos_job:main',
'paasta_chronos_rerun=paasta_tools.chronos_rerun:main',
'paasta_cleanup_maintenance=paasta_tools.cleanup_maintenance:main',
'paasta_docker_wrapper=paasta_tools.docker_wrapper:main',
'paasta_firewall_update=paasta_tools.firewall_update:main',
'paasta_firewall_logging=paasta_tools.firewall_logging:main',
'paasta_oom_logger=paasta_tools.oom_logger:main',
'paasta_broadcast_log=paasta_tools.marathon_tools:broadcast_log_all_services_running_here_from_stdin',
],
'paste.app_factory': [
'paasta-api-config=paasta_tools.api.api:make_app',
],
},
)