doc update

This commit is contained in:
Aparna Jyothi 2025-07-14 18:34:39 +05:30
parent 532b046aaf
commit ecddc3b614

View file

@ -472,12 +472,16 @@ jobs:
These environment variables become available after setup-python action execution: These environment variables become available after setup-python action execution:
| **Env.variable** | **Description** | ### Environment variables
| ----------- | ----------- |
| pythonLocation |Contains the absolute path to the folder where the requested version of Python or PyPy is installed| These environment variables become available after setup-python action execution:
| Python_ROOT_DIR | https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython |
| Python2_ROOT_DIR |https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2| | Env. variable | Description |
| Python3_ROOT_DIR |https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3| |----------------------|-------------|
| `pythonLocation` | Contains the absolute path to the folder where the requested version of Python, PyPy, or GraalPy is installed. <br><br>**Executable location by implementation:** <br>**CPython** `$pythonLocation/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows) <br>**PyPy** `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows) <br>**GraalPy** `$pythonLocation/bin/python` (Linux/macOS), `$pythonLocation/python.exe` (Windows) <br><br>Note: CPython versions include a symlink or copy of the `python` executable at the root, while PyPy and GraalPy retain upstream directory layouts. |
| `Python_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython |
| `Python2_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2 |
| `Python3_ROOT_DIR` | https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3 |
## Using `update-environment` flag ## Using `update-environment` flag