-
Notifications
You must be signed in to change notification settings - Fork 32
/
setup.py
74 lines (64 loc) · 2.03 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
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 = [
"boto3",
"botocore",
"inflection==0.3.1",
]
entrypoints = [
("c2-as", "ASClient"),
("c2-bs", "BSClient"),
("c2-ct", "CTClient"),
("c2-cw", "CWClient"),
("c2-ec2", "EC2Client"),
("c2-efs", "EFSClient"),
("c2-eks", "EKSClient"),
("c2-eks-legacy", "LegacyEKSClient"),
("c2-elb", "ELBClient"),
("c2-iam", "IAMClient"),
("c2-paas", "PaasClient"),
("c2-route53", "Route53Client"),
("c2-dc", "DirectConnectClient"),
]
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="[email protected]",
maintainer="Andrey Kulaev",
maintainer_email="[email protected]",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
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",
]
},
)