mirror of
https://github.com/simonw/dclient.git
synced 2026-07-25 02:14:32 +02:00
- Replace setup.py with pyproject.toml using uv_build backend - Add dependency-groups.dev for test dependencies - Configure flat layout with module-root = "" - Fix pre-existing test failures (updated error message, optional mock) - Add uv.lock and dist/ to .gitignore - uv run pytest (39 passed) and uv build both work https://claude.ai/code/session_01DoiJf9Gbvbw2asN9yvP6dx
42 lines
874 B
TOML
42 lines
874 B
TOML
[project]
|
|
name = "dclient"
|
|
version = "0.4"
|
|
description = "A client CLI utility for Datasette instances"
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
license = "Apache-2.0"
|
|
authors = [{name = "Simon Willison"}]
|
|
dependencies = [
|
|
"click",
|
|
"httpx",
|
|
"sqlite-utils",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/simonw/dclient"
|
|
Issues = "https://github.com/simonw/dclient/issues"
|
|
CI = "https://github.com/simonw/dclient/actions"
|
|
Changelog = "https://github.com/simonw/dclient/releases"
|
|
|
|
[project.scripts]
|
|
dclient = "dclient.cli:cli"
|
|
|
|
[project.entry-points.datasette]
|
|
client = "dclient.plugin"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"pytest",
|
|
"pytest-asyncio",
|
|
"pytest-httpx",
|
|
"cogapp",
|
|
"pytest-mock",
|
|
"datasette>=1.0a2",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["uv_build>=0.9.18,<0.10.0"]
|
|
build-backend = "uv_build"
|
|
|
|
[tool.uv.build-backend]
|
|
module-root = ""
|