-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
93 lines (81 loc) · 2.02 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
[project]
name = "elastic_agent_client"
description = "A python implementation of an Elastic Agent Client"
url = "https://github.com/elastic/python-elastic-agent-client"
readme = "README.md"
authors = [
{ name = "Search Extract and Transform Team", email = "[email protected]" }
]
license = {text = "Elastic V2"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.12",
"License :: Other/Proprietary License"
]
dynamic = ["version"]
requires-python = ">=3.10"
#######################
# !!!! IMPORTANT !!!! #
#######################
# If you add a dependancy here you will need to add it below
# to the [tools.pip-licenses].packages definition.
dependencies = [
"grpcio>=1.65, <2",
"grpcio-tools>=1.65, <2",
"protobuf>=5.27, <5.28",
"types-protobuf>=5.27, <5.28",
"uvloop>=0.20, <1",
"ecs-logging>=2"
]
[build-system]
requires = [
"hatchling",
"hatch-build-scripts"
]
build-backend = "hatchling.build"
[tool.pip-licenses]
partial-match = true
allow-only = "MIT;BSD;Apache"
format = "plain-vertical"
with-license-file = true
no-license-path = true
#### Make sure this list matches dependencies above
packages=[
"grpcio",
"grpcio-tools",
"protobuf",
"types-protobuf",
"uvloop",
"ecs-logging"
]
[tool.coverage.run]
source = ['elastic_agent_client']
omit = [
#### Omit generated code
"*/generated/*",
"*/examples/*",
"*/tests/*",
]
[tool.coverage.report]
fail_under=90
format="text"
precision=2
show_missing=true
[tool.hatch.build]
dev-mode-dirs = ["."]
directory="dist"
[tool.hatch.version]
path = "elastic_agent_client/version.py"
[tool.hatch.build.targets.sdist]
include = [
"elastic_agent_client"
]
exclude = [
"elastic_agent_client/examples"
]
[tool.hatch.build.targets.sdist.force-include]
"NOTICE.txt" = "NOTICE.txt"