Skip to content

Commit 8fbcb7e

Browse files
committed
Revert "Fix pyproject.toml's inclusion of package data"
This reverts commit 72ed745.
1 parent fd52628 commit 8fbcb7e

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

pyproject.toml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ dependencies = [
5050
"cloudpickle",
5151
]
5252

53-
[tool.setuptools.packages.find]
54-
include = ["dspy*"]
55-
5653
[tool.setuptools]
57-
include-package-data = true
54+
packages = ["dspy"]
55+
56+
[tool.setuptools.package-data]
57+
"dspy" = ["primitives/*.js"]
5858

5959
[project.optional-dependencies]
6060
anthropic = ["anthropic>=0.18.0,<1.0.0"]
@@ -140,7 +140,10 @@ pgvector = { version = "^0.2.5", optional = true }
140140
llama-index = { version = "^0.10.30", optional = true }
141141
jinja2 = "^3.1.3"
142142
magicattr = "^0.1.6"
143-
litellm = { version = ">=1.59.8,<2.0.0", extras = ["proxy"] }
143+
litellm = [
144+
{ version = ">=1.59.8,<2.0.0", markers = "sys_platform == 'win32'" },
145+
{ version = ">=1.59.8,<2.0.0", extras = ["proxy"], markers = "sys_platform != 'win32'" }
146+
]
144147
diskcache = "^5.6.0"
145148
json-repair = "^0.30.0"
146149
tenacity = ">=8.2.3"
@@ -159,7 +162,10 @@ pre-commit = "^3.7.0"
159162
ipykernel = "^6.29.4"
160163
semver = "^3.0.2"
161164
pillow = "^10.1.0"
162-
litellm = {version = ">=1.59.8,<2.0.0", extras = ["proxy"]}
165+
litellm = [
166+
{ version = ">=1.59.8,<2.0.0", markers = "sys_platform == 'win32'" },
167+
{ version = ">=1.59.8,<2.0.0", extras = ["proxy"], markers = "sys_platform != 'win32'" }
168+
]
163169
datamodel-code-generator = "^0.26.3"
164170

165171
[tool.poetry.extras]
@@ -256,4 +262,4 @@ line-ending = "auto"
256262

257263
[tool.ruff.lint.per-file-ignores]
258264
"**/{tests,testing,docs}/*" = ["ALL"]
259-
"**__init__.py" = ["ALL"]
265+
"**__init__.py" = ["ALL"]

0 commit comments

Comments
 (0)