From 6eafa529433b8864f2e04b8926cc257a40e9d552 Mon Sep 17 00:00:00 2001 From: NicklasTegner Date: Thu, 1 Oct 2020 18:20:58 +0200 Subject: [PATCH 1/2] fix #1969 --- docs/docs/configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/configuration.md b/docs/docs/configuration.md index 87c5232f4be..60db4818435 100644 --- a/docs/docs/configuration.md +++ b/docs/docs/configuration.md @@ -106,6 +106,7 @@ Defaults to one of the following directories: Create a new virtual environment if one doesn't already exist. Defaults to `true`. +If set to `false`, poetry will install dependencies into the current python environment. !!!note: When setting this configuration to `false`, the Python environment used must have `pip` @@ -116,7 +117,7 @@ Defaults to `true`. Create the virtualenv inside the project's root directory. Defaults to `None`. -If set to `true`, the virtualenv wil be created and expected in a folder named `.venv` within the root directory of the project. +If set to `true`, the virtualenv will be created and expected in a folder named `.venv` within the root directory of the project. If not set explicitly (default), `poetry` will use the virtualenv from the `.venv` directory when one is available. If set to `false`, `poetry` will ignore any existing `.venv` directory. From 9c73e2beee5401784a717abc2e8fa7ee945b2ddc Mon Sep 17 00:00:00 2001 From: NicklasTegner Date: Thu, 1 Oct 2020 19:25:27 +0200 Subject: [PATCH 2/2] Added newline --- docs/docs/configuration.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/configuration.md b/docs/docs/configuration.md index 60db4818435..0378f2fca9e 100644 --- a/docs/docs/configuration.md +++ b/docs/docs/configuration.md @@ -106,6 +106,7 @@ Defaults to one of the following directories: Create a new virtual environment if one doesn't already exist. Defaults to `true`. + If set to `false`, poetry will install dependencies into the current python environment. !!!note: