From 946de396475f7526dc4362d2fcfaf3f9730f9caa Mon Sep 17 00:00:00 2001 From: BjoernAtBosch Date: Tue, 27 Aug 2024 10:24:27 +0000 Subject: [PATCH] Doc fixes --- docs/features/PACKAGES.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/docs/features/PACKAGES.md b/docs/features/PACKAGES.md index 3144804..3371e6a 100644 --- a/docs/features/PACKAGES.md +++ b/docs/features/PACKAGES.md @@ -122,11 +122,17 @@ Specifies a program exposed by a component and its default parameters when invok } ``` -**Note:** If the executable is `python[3]` (or `pip[3]`) the execution of the Python program is automatically done within a [Python venv (virtual environment)](https://docs.python.org/3/tutorial/venv.html) specific to the component. I.e. the CLI will setup a separate venv per component. All Python programs of that component will be executed within that "component's" virtual environment. With this separation of execution environments it is possible to handle different versions of depenencies per component without generating version conflicts. +**Note:** If the `executable` is `python[3]` (or `pip[3]`) the execution of the Python program is automatically done +within a [Python venv (virtual environment)](https://docs.python.org/3/tutorial/venv.html) specific to the component. +I.e. the CLI will setup a separate venv per component. All Python programs of that component will be executed within +that "component's" virtual environment. With this separation of execution environments it is possible to handle +different versions of depenencies per component without generating version conflicts. -This automatism can be avoided by specifying the Python interpreter explicitly, e.g. by using an absolute path like `/usr/bin/python`. +This automatism can be avoided by specifying the Python interpreter explicitly, e.g. by using an absolute path like +`/usr/bin/python`. -Other Python processes spawned from a Python-based program will **not** be automatically executed in a Python venv. (Because the dependencies of that scripts probably will differ from those of the calling component.) +Other Python processes spawned from a Python-based program will **not** be automatically executed in a Python venv. +(Because the dependencies of that scripts will probably differ from those of the calling program's component.) ### `id` - string