Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,12 @@ dependencies = [
]

[tool.setuptools.packages.find]
include = ["dspy*"]
where = ["."]
include = ["dspy", "dspy.*"]
exclude = ["tests", "tests.*"]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

curious - since we do explicit include, do we still need this exclude part?

Non-blocking, feel free to merge!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not necessary (I confirmed "tests" are not included when removing this line), but mostly for the safeguard. We do the same configuration in mlflow: https://github.com/mlflow/mlflow/blob/master/pyproject.release.toml#L139


[tool.setuptools]
include-package-data = true
[tool.setuptools.package-data]
dspy = ["primitives/*.js"]

[project.optional-dependencies]
anthropic = ["anthropic>=0.18.0,<1.0.0"]
Expand Down
Loading