mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 17:18:29 +00:00
feat: complete monorepo transformation with tools integration
- Add crewai-tools as git subtree preserving full history - Move tools to proper src/ directory structure with git mv - Configure tools pyproject.toml for workspace dependency on crewai-core - Update workspace configuration to include both packages - Fix build configurations for both packages
This commit is contained in:
@@ -17,9 +17,9 @@ Documentation = "https://docs.crewai.com"
|
||||
Repository = "https://github.com/crewAIInc/crewAI"
|
||||
|
||||
[project.optional-dependencies]
|
||||
# tools = ["crewai-tools"] # TODO: Re-enable after adding tools package
|
||||
tools = ["crewai-tools"]
|
||||
core = ["crewai-core"]
|
||||
# all = ["crewai-core", "crewai-tools"] # TODO: Re-enable after adding tools package
|
||||
all = ["crewai-core", "crewai-tools"]
|
||||
# Core framework optional dependencies
|
||||
embeddings = [
|
||||
"tiktoken~=0.8.0"
|
||||
@@ -118,7 +118,7 @@ exclude_dirs = ["packages/crewai/src/crewai/cli/templates"]
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = [
|
||||
"packages/crewai/tests",
|
||||
# "packages/tools/tests", # TODO: Add after subtree merge
|
||||
"packages/tools/tests",
|
||||
]
|
||||
markers = [
|
||||
"telemetry: mark test as a telemetry test (don't mock telemetry)",
|
||||
@@ -138,12 +138,12 @@ explicit = true
|
||||
[tool.uv.workspace]
|
||||
members = [
|
||||
"packages/crewai",
|
||||
# "packages/tools", # TODO: Add after subtree merge
|
||||
"packages/tools",
|
||||
]
|
||||
|
||||
[tool.uv.sources]
|
||||
crewai-core = { workspace = true }
|
||||
# crewai-tools = { workspace = true } # TODO: Add after subtree merge
|
||||
crewai-tools = { workspace = true }
|
||||
torch = [
|
||||
{ index = "pytorch-nightly", marker = "python_version >= '3.13'" },
|
||||
{ index = "pytorch", marker = "python_version < '3.13'" },
|
||||
@@ -161,6 +161,7 @@ requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["packages/crewai/src/crewai"]
|
||||
exclude = [
|
||||
"docs/**",
|
||||
"docs/",
|
||||
|
||||
Reference in New Issue
Block a user