Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Fix pyproject.toml to include package data (#7869)

TomuHirata0801b657b3f4
diff --git a/pyproject.toml b/pyproject.toml
index 08a20c8e8..f1842a02f 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -51,10 +51,12 @@ dependencies = [
]
[tool.setuptools.packages.find]
-include = ["dspy*"]
+where = ["."]
+include = ["dspy", "dspy.*"]
+exclude = ["tests", "tests.*"]
-[tool.setuptools]
-include-package-data = true
+[tool.setuptools.package-data]
+dspy = ["primitives/*.js"]
[project.optional-dependencies]
anthropic = ["anthropic>=0.18.0,<1.0.0"]