chore: update pyproject metadata and switch to uv_build

This commit is contained in:
banteg
2025-12-29 19:43:04 +04:00
parent 8eca67526d
commit 5adf3500fc
+5 -10
View File
@@ -2,7 +2,7 @@
name = "takopi" name = "takopi"
authors = [{name = "banteg"}] authors = [{name = "banteg"}]
version = "0.1.0" version = "0.1.0"
description = "Telegram bridge tools for Codex." description = "Run OpenAI Codex CLI with Telegram as the human-in-the-loop interface."
readme = "readme.md" readme = "readme.md"
license = { file = "LICENSE" } license = { file = "LICENSE" }
requires-python = ">=3.12" requires-python = ">=3.12"
@@ -18,6 +18,7 @@ classifiers = [
"Programming Language :: Python :: 3", "Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3 :: Only",
"Operating System :: OS Independent", "Operating System :: OS Independent",
] ]
@@ -31,21 +32,15 @@ Issues = "https://github.com/banteg/takopi/issues"
takopi = "takopi.exec_bridge:main" takopi = "takopi.exec_bridge:main"
[build-system] [build-system]
requires = ["hatchling"] requires = ["uv_build>=0.9.18,<0.10.0"]
build-backend = "hatchling.build" build-backend = "uv_build"
[tool.hatch.build.targets.wheel]
packages = ["src/takopi"]
[tool.hatch.build.targets.sdist]
include = ["src/takopi", "readme.md", "LICENSE"]
[dependency-groups] [dependency-groups]
dev = [ dev = [
"pytest>=9.0.2", "pytest>=9.0.2",
"pytest-cov>=7.0.0", "pytest-cov>=7.0.0",
"ruff>=0.14.10", "ruff>=0.14.10",
"ty>=0.0.7", "ty>=0.0.8",
] ]
[tool.pytest.ini_options] [tool.pytest.ini_options]