diff --git a/src/crewai/cli/templates/flow/pyproject.toml b/src/crewai/cli/templates/flow/pyproject.toml index 9cebbc497..476d24f44 100644 --- a/src/crewai/cli/templates/flow/pyproject.toml +++ b/src/crewai/cli/templates/flow/pyproject.toml @@ -1,19 +1,19 @@ -[tool.poetry] +[project] name = "{{folder_name}}" version = "0.1.0" description = "{{name}} using crewAI" -authors = ["Your Name "] +authors = [{ name = "Your Name", email = "you@example.com" }] +requires-python = ">=3.10,<=3.13" +dependencies = [ + "crewai[tools]>=0.67.1,<1.0.0", + "asyncio" +] -[tool.poetry.dependencies] -python = ">=3.10,<=3.13" -crewai = { extras = ["tools"], version = ">=0.67.1,<1.0.0" } -asyncio = "*" - -[tool.poetry.scripts] +[project.scripts] {{folder_name}} = "{{folder_name}}.main:main" run_flow = "{{folder_name}}.main:main" plot_flow = "{{folder_name}}.main:plot" [build-system] -requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" +requires = ["hatchling"] +build-backend = "hatchling.build"