ez_otlp/pyproject.toml
2025-01-05 20:58:13 +08:00

50 lines
1.1 KiB
TOML

[project]
name = "ez_otlp"
version = "0.1.2"
description = "ez-otlp is a simple tool that enables convenient use of modern monitoring systems with minimal configuration."
readme = "README.md"
authors = [{ name = "Martin", email = "martin19980418@gmail.com" }]
requires-python = ">=3.12"
dependencies = [
"opentelemetry-api>=1.28.2",
"opentelemetry-exporter-otlp>=1.28.2",
"opentelemetry-instrumentation-logging>=0.49b2",
"opentelemetry-sdk>=1.28.2",
"orjson>=3.10.12",
"psutil>=6.1.0",
"pydantic-settings>=2.6.1",
"rich>=13.9.4",
]
[project.urls]
repository = "https://github.com/a1403951401/ez_otlp"
[[tool.uv.index]]
url = "https://pypi.tuna.tsinghua.edu.cn/simple"
default = true
[project.scripts]
test-build = "test_build:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[dependency-groups]
dev = [
"opentelemetry-test-utils>=0.49b2",
]
[tool.hatch.build]
include = ["ez_otlp", "README.md"]
exclude = ["signoz", "docs", "test"]
# 可选依赖项 (extras)
[tool.hatch.extras]
structlog = [
"structlog>=24.4.0"
]