-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
129 lines (103 loc) · 4.27 KB
/
setup.py
File metadata and controls
129 lines (103 loc) · 4.27 KB
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
129
#!/usr/bin/env python
PROJECT = 'clifford'
# Change docs/sphinx/conf.py too!
VERSION = '0.1'
from setuptools import setup, find_packages
try:
long_description = open('README.rst', 'rt').read()
except IOError:
long_description = ''
setup(
name=PROJECT,
version=VERSION,
description='Clifford, ec2 made easy.',
long_description=long_description,
author='Joe Server',
author_email='joe@jserver.io',
url='https://github.com/jserver/clifford',
download_url='https://github.com/jserver/clifford/tarball/master',
classifiers=['Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'Environment :: Console',
],
platforms=['Any'],
scripts=[],
provides=[],
install_requires=['cliff', 'boto', 'paramiko'],
namespace_packages=[],
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'clifford = clifford.main:main'
],
'clifford': [
# General
'domain = clifford.actions:Domain',
'key_paths = clifford.actions:KeyPaths',
'script_path = clifford.actions:ScriptPath',
# Lister tools
'ls = clifford.listing:Instances',
'addresses = clifford.listing:Addresses',
'aws_images = clifford.listing:AwsImages',
'buckets = clifford.listing:Buckets',
'builds = clifford.listing:Builds',
'bundles = clifford.listing:Bundles',
'groups = clifford.listing:Groups',
'images = clifford.listing:Images',
'tags = clifford.listing:InstanceTags',
'instances = clifford.listing:Instances',
'keys = clifford.listing:Keys',
'projects = clifford.listing:Projects',
'scripts = clifford.listing:Scripts',
'security groups = clifford.listing:SecurityGroups',
'snapshots = clifford.listing:Snapshots',
'volumes = clifford.listing:Volumes',
# EC2
'image = clifford.actions:Image',
'create image = clifford.actions:CreateImage',
'create snapshot = clifford.actions:CreateSnapshot',
'del aws_image = clifford.actions:DeleteAwsImage',
'del snapshot = clifford.actions:DeleteSnapshot',
'del volume = clifford.actions:DeleteVolume',
'build = clifford.build:Build',
'launch = clifford.launch:Launch',
'project = clifford.project:Project',
'instance = clifford.show:Instance',
'terminate = clifford.actions:Terminate',
'reboot = clifford.actions:Reboot',
'stop = clifford.actions:Stop',
'start = clifford.actions:Start',
'tag = clifford.actions:Tag',
'adduser = clifford.remote:AddUser',
'cnct = clifford.actions:Cnct',
'script = clifford.remote:Script',
'copy = clifford.remote:CopyFile',
'update = clifford.remote:Update',
'upgrade = clifford.remote:Upgrade',
'apt install = clifford.remote:AptGetInstall',
'pip install = clifford.remote:PipInstall',
'install bundle = clifford.remote:BundleInstall',
'install group = clifford.remote:GroupInstall',
#'add-apt = clifford.remote:AddAptInstall',
#'ppa install = clifford.remote:PPAInstall',
'bundle = clifford.package:Bundle',
'group = clifford.package:Group',
# Elastic IPs
'associate = clifford.address:Associate',
'disassociate = clifford.address:Disassociate',
'allocate = clifford.address:Allocate',
'release = clifford.address:Release',
# S3
'create bucket = clifford.storage:CreateBucket',
'del bucket = clifford.storage:DeleteBucket',
'download = clifford.storage:Download',
'upload = clifford.storage:Upload',
],
},
zip_safe=False,
)