From eb8f306d8736a946ea68c59a627ca30a6ec5ab76 Mon Sep 17 00:00:00 2001 From: mushitoriami Date: Tue, 23 Jun 2026 01:09:35 +0900 Subject: [PATCH] docs: Fix `python` command to `python3` for compatibility The `python` command is not always available or guaranteed to point to `python3` depending on the environment. To ensure compatibility across different systems, this PR changes the hardcoded `python` command to `python3`, aligning with the shebang in the script. --- Makefile | 4 ++-- scripts/make.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 1b3391da..289ea2b9 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ default: help @echo @echo 'Enable direnv in your shell to use the `make` command: `direnv allow`' - @echo 'Or use `python scripts/make ARGS` to run the commands/tasks directly.' + @echo 'Or use `python3 scripts/make ARGS` to run the commands/tasks directly.' .DEFAULT_GOAL: default @@ -32,4 +32,4 @@ actions = \ .PHONY: $(actions) $(actions): - @python scripts/make "$@" + @python3 scripts/make "$@" diff --git a/scripts/make.py b/scripts/make.py index f2372499..76fec731 100755 --- a/scripts/make.py +++ b/scripts/make.py @@ -146,7 +146,7 @@ def setup() -> None: print("Installing dependencies (default environment)") default_venv = Path(".venv") if not default_venv.exists(): - _shell("uv venv --python python") + _shell("uv venv --python python3") _uv_install(default_venv) if PYTHON_VERSIONS: