docs python: `python.buildEnv` does not include `buildPythonApplication` modules

Clarify the issue encountered at
https://github.com/NixOS/nixpkgs/issues/45503

+9 -3
+9 -3
doc/languages-frameworks/python.section.md
··· 645 645 646 646 #### `buildPythonApplication` function 647 647 648 - The `buildPythonApplication` function is practically the same as `buildPythonPackage`. 649 - The difference is that `buildPythonPackage` by default prefixes the names of the packages with the version of the interpreter. 650 - Because this is irrelevant for applications, the prefix is omitted. 648 + The `buildPythonApplication` function is practically the same as 649 + `buildPythonPackage`. The main purpose of this function is to build a Python 650 + package where one is interested only in the executables, and not importable 651 + modules. For that reason, when adding this package to a `python.buildEnv`, the 652 + modules won't be made available. 653 + 654 + Another difference is that `buildPythonPackage` by default prefixes the names of 655 + the packages with the version of the interpreter. Because this is irrelevant for 656 + applications, the prefix is omitted. 651 657 652 658 #### `toPythonApplication` function 653 659