From fc1f74c6ae8284e47d4e5488c6327b177f6d1641 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Tue, 29 Jul 2025 16:34:51 -0400 Subject: [PATCH] Fix hatch build --- pyproject.toml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fc03a07..acce5a2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,14 +42,11 @@ lint = [{cmd = "black --check ."}, {cmd = "isort --check-only ."}, {ref = "lint- lint-types = "mypy --check-untyped-defs --namespace-packages ." test = "pytest" -[tool.hatch.build.targets.sdist] -include = ["./**/*.py"] +[tool.hatch.metadata] +allow-direct-references = true -[tool.hatch.build.targets.wheel] -include = ["./**/*.py"] - -[tool.hatch.build.targets.wheel.sources] -"./**/*.py" = "**/*.py" +[tool.hatch.build] +packages = ["activities", "api", "goals", "models", "prompts", "shared", "tools", "workflows"] [build-system] requires = ["hatchling"]