forked from dcos/dcos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
94 lines (89 loc) · 2.84 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
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 packaging, management, install utilities',
url='https://dcos.io',
author='Mesosphere, Inc.',
author_email='[email protected]',
license='apache2',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
packages=[
'gen',
'gen.aws',
'gen.azure',
'gen.installer',
'pkgpanda',
'pkgpanda.build',
'release',
'release.storage',
'ssh',
'test_util'],
install_requires=[
# 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',
'pyyaml',
'requests',
'retrying',
'keyring==9.1'], # FIXME: pin keyring to prevent dbus dep
entry_points={
'console_scripts': [
'release=release:main',
'ccm-deploy-test=test_util.test_installer_ccm:main',
'pkgpanda=pkgpanda.cli:main',
'mkpanda=pkgpanda.build.cli:main',
],
},
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',
'installer/bash/dcos_generate_config.sh.in',
'installer/bash/Dockerfile.in',
'installer/bash/installer_internal_wrapper.in',
'coreos-aws/cloud-config.yaml',
'coreos/cloud-config.yaml'
] + get_advanced_templates(),
'pkgpanda': [
'docker/dcos-builder/Dockerfile'
],
'test_util': [
'docker/py.test/Dockerfile',
'docker/test_server/Dockerfile',
'docker/test_server/test_server.py',
'integration_test.py'],
},
zip_safe=False
)