forked from C2Devel/c2-client
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
66 lines (56 loc) · 1.61 KB
/
setup.py
File metadata and controls
66 lines (56 loc) · 1.61 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
from setuptools import setup, find_packages
import os
from c2client import __version__
PACKAGE_PATH = os.path.abspath(os.path.dirname(__file__))
def get_description():
with open(os.path.join(PACKAGE_PATH, "README.rst")) as readme:
return readme.read()
install_requires = [
"boto",
"boto3",
"botocore",
"inflection==0.3.1",
"lxml",
]
entrypoints = [
("c2-as", "ASClient"),
("c2-bs", "BSClient"),
("c2-ct", "CTClient"),
("c2-cw", "CWClient"),
("c2-ec2", "EC2Client"),
("c2-eks", "EKSClient"),
("c2-eks-legacy", "LegacyEKSClient"),
("c2-elb", "ELBClient"),
("c2-paas", "PaasClient"),
("c2-route53", "Route53Client"),
]
setup(
name="c2client",
version=__version__,
description="CROC Cloud Platform - API Client",
long_description=get_description(),
url="https://github.com/c2devel/c2-client",
license="GPL3",
author="CROC Cloud Team",
author_email="devel@croc.ru",
maintainer="Andrey Kulaev",
maintainer_email="adkulaev@gmail.com",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
],
install_requires=install_requires,
packages=find_packages(),
entry_points={
"console_scripts": [
f"{name} = c2client.clients:{client}.execute"
for name, client in entrypoints
] + [
"c2rc-convert = c2client.c2rc_convert:main",
]
},
)