From 909b4dda7bab6da1bab31db8e4a4901aa190c17f Mon Sep 17 00:00:00 2001 From: Luong NGUYEN Date: Fri, 9 Jan 2026 09:38:25 +0100 Subject: [PATCH] fix: Update pyproject.toml to fix setuptools package discovery and license format --- pyproject.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1736e7b..ab0cf5b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ name = "claude-howto" version = "1.0.0" description = "Claude Code How-To Guide with EPUB builder" readme = "README.md" -license = {text = "MIT"} +license = "MIT" requires-python = ">=3.10" dependencies = [ "ebooklib", @@ -32,6 +32,11 @@ addopts = "-v" requires = ["setuptools>=61.0"] build-backend = "setuptools.build_meta" +[tool.setuptools.packages.find] +where = ["scripts"] +include = ["build_epub"] +exclude = ["tests", "tests.*"] + # ============================================================================= # Ruff Configuration # =============================================================================