Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit65b0712

Browse files
Clarify pythonLocation behavior for PyPy and GraalPy in environment variables (#1183)
* documentation update* spaces update
1 parent5b668cf commit65b0712

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎docs/advanced-usage.md‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -477,16 +477,16 @@ jobs:
477477
- run: echo '${{ steps.cp313.outputs.cache-hit }}' # true if cache-hit occurred on the primary key
478478
```
479479

480-
## Environment variables
480+
### Environment variables
481481

482482
These environment variables become available after setup-python action execution:
483483

484-
| **Env.variable**| **Description**|
485-
|----------- |-----------|
486-
| pythonLocation |Contains the absolute path to the folder where the requested version of PythonorPyPy is installed|
487-
| Python_ROOT_DIR | https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython |
488-
| Python2_ROOT_DIR |https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2|
489-
| Python3_ROOT_DIR |https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3|
484+
| **Env.variable** | **Description**|
485+
|----------------------|-------------|
486+
|`pythonLocation`|Contains the absolute path to the folder where the requested version of Python, PyPy,orGraalPy is installed. <br><br>**Executable location by implementation:** <br>• **CPython** – `$pythonLocation/bin/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) <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.|
487+
|`Python_ROOT_DIR`| https://cmake.org/cmake/help/latest/module/FindPython.html#module:FindPython |
488+
|`Python2_ROOT_DIR` |https://cmake.org/cmake/help/latest/module/FindPython2.html#module:FindPython2|
489+
|`Python3_ROOT_DIR` |https://cmake.org/cmake/help/latest/module/FindPython3.html#module:FindPython3|
490490

491491
## Using `update-environment` flag
492492

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp