Skip to content

Commit

Permalink
fix: update setuptools configuration to use find directive
Browse files Browse the repository at this point in the history
- Use setuptools.packages.find for package discovery
- Explicitly include only agentstack package
- Exclude web, tests, and examples directories
- Fix package structure issue in CI builds

Co-Authored-By: [email protected] <[email protected]>
  • Loading branch information
1 parent c2886cb commit cf334b6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ crewai = [


[tool.setuptools]
packages = ["agentstack"]
packages = []
package-dir = {"" = "."}

[tool.setuptools.packages.find]
include = ["agentstack*"]
exclude = ["web*", "tests*", "examples*"]

[tool.setuptools.package-data]
agentstack = ["templates/**/*"]
Expand Down

0 comments on commit cf334b6

Please sign in to comment.