Skip to content

Commit

Permalink
Doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernAtBosch committed Aug 27, 2024
1 parent b7b52e2 commit 946de39
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/features/PACKAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 946de39

Please sign in to comment.