forked from compose-x/ecs_composex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
136 lines (118 loc) · 3.26 KB
/
pyproject.toml
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
130
131
132
133
134
135
136
[tool.poetry]
name = "ecs_composex"
version = "0.24.2"
description = "Manage, Configure and Deploy your services and AWS services and applications from your docker-compose definition"
authors = ["John Preston <john@compose-x.io>"]
maintainers = ["John Preston <john@compose-x.io>"]
license = "MPL-2.0"
readme = "README.rst"
keywords = ["compose-x", "aws", "cloudformation", "docker", "compose"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
include = [
"LICENSE",
"MANIFEST.in",
"NOTICES.rst",
"ecs_composex/**/*.json",
"ecs_composex/**/*.j2"
]
exclude = ["*.pyc", "*~", "*pycache*"]
[tool.poetry.urls]
"Bug Tracker" = "https://github.com/compose-x/ecs_composex/issues"
"Labs" = "https://labs.compose-x.io/"
"Blog" = "https://blog.compose-x.io/"
"Documentation" = "https://docs.compose-x.io/"
[tool.poetry.dependencies]
python = "^3.8"
boto3 = ">=1.28,<2.0"
troposphere = "4.5.1"
ecr-scan-reporter = { version = "^0.4.8", optional = true }
compose-x-render = "^0.6.1"
compose-x-common = "^1.4"
jsonschema = ">=4.15,<4.18"
requests = "^2.28"
tabulate = "^0.8"
importlib-resources = "^5.4"
PyYAML = "^6.0"
retry2 = "^0.9"
Jinja2 = "^3.1.2"
docker = "^6.0.1"
troposphere-awscommunity-applicationautoscaling-scheduledaction = "^0.1.1"
[tool.poetry.dev-dependencies]
isort = "^5.10.1"
placebo = "^0.10.0"
pre-commit = "^3.2"
black = "^23.1"
behave = "^1.2.6"
coverage = { extras = ["toml"], version = "^7" }
pytest = "^7.2"
tbump = "^6.9"
boto3-stubs = { extras = ["acm", "ecs", "cloudformation", "essential"], version = "^1.28" }
pyclean = "^2.2.0"
pyupgrade = "^3.8"
[tool.poetry.scripts]
ecs-compose-x = "ecs_composex.cli:main"
ecs_compose_x = "ecs_composex.cli:main"
compose-x = "ecs_composex.cli:main"
[tool.poetry.extras]
ecrscan = ["ecr-scan-reporter"]
[tool.poetry.group.docs.dependencies]
sphinx = "^5.3.0"
sphinx-autodoc-typehints = "^1.19.2"
sphinx-jsonschema = "^1.19.1"
sphinx-material = "^0.0.35"
[tool.tbump]
github_url = "https://github.com/compose-x/ecs_composex"
[tool.tbump.version]
current = "0.24.2"
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
(?:(?P<rc>[\S]+))?
'''
[tool.tbump.git]
message_template = "Bump to {new_version}"
tag_template = "v{new_version}"
[[tool.tbump.file]]
src = "pyproject.toml"
[[tool.tbump.file]]
src = "ecs_composex/__init__.py"
[[tool.tbump.before_commit]]
name = "Files format"
cmd = "make conform"
[[tool.tbump.before_commit]]
name = "Update SAM Policies templates"
cmd = "python .scripts/import_sam_policies_template.py"
[tool.black]
line-length = 88
[tool.isort]
profile = "black"
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
known_first_party = "kelvin"
[tool.coverage.report]
exclude_lines = [
"if __name__ == '__main__'"
]
[tool.coverage.run]
omit = [
"*/cli.py"
]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"