FGU-bookfusion/pyproject.toml
Frederic Guariento c9c104f04e fix(build): remove redundant wheel force-include (hatchling duplicate-path error)
packages=["src/bookfusion_mcp"] already bundles web/*.user.js. Recent hatchling
rejects the duplicate add from force-include (ValueError: second file at same
path) - non-deterministic build surfacing only on a host with newer hatchling.
Web asset still shipped via packages (verified in image).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-10 18:04:20 +02:00

45 lines
1,002 B
TOML

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "bookfusion-mcp"
version = "0.1.0"
description = "MCP server to sync a Calibre / Calibre-Web-Automated library to BookFusion"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "GPL-3.0-or-later" }
authors = [
{ name = "Fguarien" }
]
keywords = ["mcp", "bookfusion", "calibre", "calibre-web-automated", "ebook"]
dependencies = [
"mcp[cli]>=1.2.0",
"httpx>=0.27.0",
"python-dotenv>=1.0.0",
"fastapi>=0.110.0",
"uvicorn[standard]>=0.27.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"ruff>=0.5.0",
]
[project.scripts]
bookfusion-mcp = "bookfusion_mcp.__main__:main"
bookfusion-http = "bookfusion_mcp.__main__:http_main"
[tool.hatch.build.targets.wheel]
packages = ["src/bookfusion_mcp"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]