forked from kubernetes-sigs/agent-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
68 lines (61 loc) · 1.76 KB
/
Copy pathpyproject.toml
File metadata and controls
68 lines (61 loc) · 1.76 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
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm>=8.0"]
build-backend = "setuptools.build_meta"
[project]
name = "k8s-agent-sandbox"
dynamic = ["version"]
description = "A client library to interact with the Agentic Sandbox on Kubernetes."
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
]
dependencies = [
"kubernetes",
"requests",
"pydantic",
"prometheus-client",
]
[project.urls]
"Homepage" = "https://github.com/kubernetes-sigs/agent-sandbox"
"Bug Tracker" = "https://github.com/kubernetes-sigs/agent-sandbox/issues"
[tool.setuptools.packages.find]
# This tells setuptools to include the 'k8s_agent_sandbox'
# package, ignore other directories like 'sandbox_router', and exclude tests.
include = ["k8s_agent_sandbox*"]
exclude = [
"*.test",
"*.test.*",
"*.tests",
"*.tests.*",
"k8s_agent_sandbox.test*",
"k8s_agent_sandbox.*.test*"
]
[tool.setuptools.exclude-package-data]
# setuptools_scm automatically bundles tracked files as package data.
# We need to explicitly exclude test directories and files from being bundled.
"*" = ["test/*", "tests/*", "*/test/*", "*/tests/*", "test_*.py", "*_test.py"]
[tool.setuptools_scm]
root = "../../.."
[project.optional-dependencies]
async = [
"httpx",
"kubernetes_asyncio<34.0.0",
]
test = [
"pytest",
"pytest-xdist",
"pytest-asyncio",
"httpx",
"kubernetes_asyncio<34.0.0",
]
tracing = [
"opentelemetry-api~=1.39.0",
"opentelemetry-sdk~=1.39.0",
"opentelemetry-exporter-otlp~=1.39.0",
"opentelemetry-instrumentation-requests~=0.60b0",
]
[tool.pytest.ini_options]
testpaths = ["k8s_agent_sandbox"]