From 1c170ec411037571703b2dc338a9e52c6e657ff7 Mon Sep 17 00:00:00 2001 From: lorenzejay Date: Wed, 2 Jul 2025 14:27:03 -0700 Subject: [PATCH] chore: update pyproject.toml to exclude documentation from build targets * Added exclusions for the `docs` directory in both wheel and sdist build targets to streamline the build process and reduce unnecessary file inclusion. --- pyproject.toml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 6e2856c27..40c333165 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -123,3 +123,15 @@ path = "src/crewai/__init__.py" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +exclude = [ +"docs/**", +"docs/", +] + +[tool.hatch.build.targets.sdist] +exclude = [ +"docs/**", +"docs/", +]