-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
109 lines (104 loc) · 3.54 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
from setuptools import setup
def get_advanced_templates():
template_base = 'aws/templates/advanced/'
template_names = ['advanced-master', 'advanced-priv-agent', 'advanced-pub-agent', 'infra', 'zen']
return [template_base + name + '.json' for name in template_names]
setup(
name='dcos_image',
version='0.1',
description='DC/OS cluster configuration, assembly, and launch, and maintenance code',
url='https://dcos.io',
author='Mesosphere, Inc.',
author_email='help@dcos.io',
license='apache2',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
packages=[
'dcos_installer',
'gen',
'gen.build_deploy',
'pkgpanda',
'pkgpanda.build',
'pkgpanda.http',
'release',
'release.storage',
'ssh',
'test_util'],
install_requires=[
'aiohttp==0.22.5',
'analytics-python',
'coloredlogs',
'Flask',
'flask-compress',
# Pins taken from 'azure==2.0.0rc4'
'msrest==0.4.0',
'msrestazure==0.4.1',
'azure-storage==0.32.0',
'azure-mgmt-network==0.30.0rc4',
'azure-mgmt-resource==0.30.0rc4',
'boto3',
'botocore',
'coloredlogs',
'docopt',
'passlib',
'py',
'pyinstaller==3.2',
'pyyaml',
'requests==2.10.0',
'retrying',
'keyring==9.1', # FIXME: pin keyring to prevent dbus dep
'teamcity-messages'],
entry_points={
'console_scripts': [
'release=release:main',
# Note: This test does not touch CCM, but this is here for backward compatible CI
'ccm-deploy-test=test_util.test_aws_vpc:main',
'test-aws-cf-deploy=test_util.test_aws_cf:main',
'test-upgrade-vpc=test_util.test_upgrade_vpc:main',
'test-azure-rm-deploy=test_util.azure_test_driver:main',
'pkgpanda=pkgpanda.cli:main',
'mkpanda=pkgpanda.build.cli:main',
'dcos_installer=dcos_installer.cli:main',
'dcos-launch=test_util.launch:main',
'dcos-exhibitor-migrate-status=dcos_installer.exhibitor_migrate:status',
'dcos-exhibitor-migrate-perform=dcos_installer.exhibitor_migrate:perform',
],
},
package_data={
'gen': [
'ip-detect/aws.sh',
'ip-detect/aws_public.sh',
'ip-detect/azure.sh',
'ip-detect/vagrant.sh',
'cloud-config.yaml',
'dcos-config.yaml',
'dcos-metadata.yaml',
'dcos-services.yaml',
'aws/dcos-config.yaml',
'aws/templates/aws.html',
'aws/templates/cloudformation.json',
'azure/cloud-config.yaml',
'azure/azuredeploy-parameters.json',
'azure/templates/acs.json',
'azure/templates/azure.html',
'azure/templates/azuredeploy.json',
'build_deploy/bash/dcos_generate_config.sh.in',
'build_deploy/bash/Dockerfile.in',
'build_deploy/bash/installer_internal_wrapper.in',
'build_deploy/bash/dcos-launch.spec',
'coreos-aws/cloud-config.yaml',
'coreos/cloud-config.yaml'
] + get_advanced_templates(),
'pkgpanda': [
'docker/dcos-builder/Dockerfile'
],
'test_util': [
'launch.py'
]
},
zip_safe=False
)