From 7104ee21844628fb8cf4962593294fdcbedf4519 Mon Sep 17 00:00:00 2001 From: Alexandr Shashkin Date: Tue, 3 Sep 2024 12:24:35 +0300 Subject: [PATCH] pyproject.toml: rename fastapi script to fastapi-cli The package script started to conflict with fastapi package script since fastapi commit a25c92ce was created. After the both programs were packed in any linux distro and a user tried to install them a file conflict error occured. The simplest way is to rename the script for this python package. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4a684fe..47fdda7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ Issues = "https://github.com/fastapi/fastapi-cli/issues" Changelog = "https://github.com/fastapi/fastapi-cli/blob/main/release-notes.md" [project.scripts] -fastapi = "fastapi_cli.cli:main" +fastapi-cli = "fastapi_cli.cli:main" [build-system] requires = ["pdm-backend"]