-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
110 lines (101 loc) · 2.23 KB
/
pyproject.toml
File metadata and controls
110 lines (101 loc) · 2.23 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
[project]
name = "kubed-krm"
description = "Python implementation of the Kubernetes KRM Function Interface"
readme = "README.md"
dynamic = ["version"]
requires-python = ">=3.10.0"
keywords = [
"kubernetes",
"krm",
"kustomize",
"kubectl",
"krew"
]
license-files = ["LICENSE"]
authors = [
{ name = "Kelly", email = "admin@kellyferrone.com" }
]
maintainers = [
{ name = "Kelly", email = "admin@kellyferrone.com" }
]
dependencies = [
"requests>=2.22.0",
"cachetools>=5.2.0",
"jmespath>=1.0.1",
"pyyaml>=6.0.1",
"jsonpatch>=1.33",
"jsonpointer>=2.4",
"netaddr>=0.8.0",
"kubernetes>=33.1.0"
]
[project.optional-dependencies]
build = [
"invoke",
"setuptools_scm",
"build",
"wheel",
"twine",
"pyinstaller",
"toml",
"semver"
]
[build-system]
requires = [
"setuptools>=42",
"setuptools_scm[toml]>=6.2",
"build",
"wheel",
"twine"
]
build-backend = "setuptools.build_meta"
[project.urls]
Homepage = "https://github.com/kubed-io"
Documentation = "https://github.com/kubed-io/krm-py"
Repository = "https://github.com/kubed-io/krm-py"
Issues = "https://github.com/kubed-io/krm-py/issues"
Changelog = "https://github.com/kubed-io/krm-py/blob/main/CHANGELOG.md"
LatestRelease = "https://github.com/kubed-io/krm-py/releases"
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "src --verbose --cov=src --cov-report term-missing"
testpaths = [
"src/tests"
]
pythonpath = [
"src"
]
markers = [
"integration: mark a test as an integration test",
"unit: mark a test as a unit test"
]
[tool.coverage.run]
omit = [
"*_test.py",
"foo.py",
"src/tests/*",
"**/__*__.py"
]
[tool.ruff]
exclude = [
"**/*_test.py",
"**/test_*.py",
"src/tests/*"
]
[tool.setuptools_scm]
[tool.setuptools]
include-package-data = true
# packages = ["kubed"]
# package-dir={'kubed' = 'kubed'}
[tool.setuptools.packages.find]
where = ["."]
exclude = [
"tests","docs","examples", ".*"
]
[project.scripts]
kubectl-kubed = "kubed.krm.common:execute"
kubectl-setenv = "kubed.kubectl.envmap:setenv"
[project.entry-points."krm.kubed.io"]
embed = "kubed.kustomize.embed:transform"
replicate = "kubed.kustomize.replicate:transform"
lastpasssecret = "kubed.kustomize.lastpass:generate"
filter = "kubed.kustomize.filter.__init__:transform"