From 5783b3e9ed5fb34e4dff989b8ffd93bcf1535bb6 Mon Sep 17 00:00:00 2001 From: lucasew Date: Fri, 27 Dec 2024 16:02:35 -0300 Subject: [PATCH] expose the flet command on flet-cli instead of flet Signed-off-by: lucasew --- sdk/python/packages/flet-cli/pyproject.toml | 4 ++++ sdk/python/packages/flet/pyproject.toml | 5 +---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/sdk/python/packages/flet-cli/pyproject.toml b/sdk/python/packages/flet-cli/pyproject.toml index 032cc603f..7a0530151 100644 --- a/sdk/python/packages/flet-cli/pyproject.toml +++ b/sdk/python/packages/flet-cli/pyproject.toml @@ -32,3 +32,7 @@ build-backend = "poetry.core.masonry.api" [tool.isort] profile = "black" float_to_top = true + +[tool.poetry.scripts] +flet = "flet_cli.cli:main" + diff --git a/sdk/python/packages/flet/pyproject.toml b/sdk/python/packages/flet/pyproject.toml index a539db4ec..fe6775353 100644 --- a/sdk/python/packages/flet/pyproject.toml +++ b/sdk/python/packages/flet/pyproject.toml @@ -33,9 +33,6 @@ cli = ["flet-cli"] web = ["flet-web"] desktop = ["flet-desktop"] -[tool.poetry.scripts] -flet = "flet.cli:main" - [build-system] requires = ["poetry-core"] -build-backend = "poetry.core.masonry.api" \ No newline at end of file +build-backend = "poetry.core.masonry.api"