Skip to content

Commit 7104ee2

Browse files
committed
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.
1 parent d4fe875 commit 7104ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Issues = "https://github.com/fastapi/fastapi-cli/issues"
4949
Changelog = "https://github.com/fastapi/fastapi-cli/blob/main/release-notes.md"
5050

5151
[project.scripts]
52-
fastapi = "fastapi_cli.cli:main"
52+
fastapi-cli = "fastapi_cli.cli:main"
5353

5454
[build-system]
5555
requires = ["pdm-backend"]

0 commit comments

Comments
 (0)