From d202395645b9a0e7532bfc08bdf006563ea19a50 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Sun, 16 May 2021 14:25:06 +0100 Subject: [PATCH] clarify tool.poetry.scripts use my_package in line with other sections ovoid re-using the term poetry for package and CLI script name --- docs/docs/pyproject.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/pyproject.md b/docs/docs/pyproject.md index 76cb2a86868..9ef1f9ecc04 100644 --- a/docs/docs/pyproject.md +++ b/docs/docs/pyproject.md @@ -224,10 +224,10 @@ This section describes the scripts or executables that will be installed when in ```toml [tool.poetry.scripts] -poetry = 'poetry.console:run' +my_package_cli = 'my_package.console:run' ``` -Here, we will have the `poetry` script installed which will execute `console.run` in the `poetry` package. +Here, we will have the `my_package_cli` script installed which will execute `run` in the `console` module in the `my_package` package. !!!note