From 5bf4ae56177c3d65d846d01f8f24a793f1d7788c Mon Sep 17 00:00:00 2001 From: Noam Yorav-Raphael Date: Wed, 19 Aug 2020 08:28:33 +0300 Subject: [PATCH 1/2] Update pyproject.md Explain that `poetry install` installs the scripts in the virtualenv. See #2179 for the use case. --- docs/docs/pyproject.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/pyproject.md b/docs/docs/pyproject.md index 3bf1d11a780..8716b6435f4 100644 --- a/docs/docs/pyproject.md +++ b/docs/docs/pyproject.md @@ -216,6 +216,8 @@ poetry = 'poetry.console:run' Here, we will have the `poetry` script installed which will execute `console.run` in the `poetry` package. +When developing, run `poetry install` after editing the `scripts` section, to install the scripts in the virtualenv. + ## `extras` Poetry supports extras to allow expression of: From cd06f09ea110a5120e13be12a4ebc8d03ef5272b Mon Sep 17 00:00:00 2001 From: Noam Yorav-Raphael Date: Thu, 20 Aug 2020 00:07:53 +0300 Subject: [PATCH 2/2] Update docs/docs/pyproject.md Co-authored-by: Arun Babu Neelicattu --- docs/docs/pyproject.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/docs/pyproject.md b/docs/docs/pyproject.md index 8716b6435f4..b33110d7e4e 100644 --- a/docs/docs/pyproject.md +++ b/docs/docs/pyproject.md @@ -216,7 +216,9 @@ poetry = 'poetry.console:run' Here, we will have the `poetry` script installed which will execute `console.run` in the `poetry` package. -When developing, run `poetry install` after editing the `scripts` section, to install the scripts in the virtualenv. +!!!note + + When a script is added or updated, run `poetry install` to make them available in the project's virtualenv. ## `extras`