diff --git a/scripts/bootstrap.py b/scripts/bootstrap.py index b08409e..197db59 100644 --- a/scripts/bootstrap.py +++ b/scripts/bootstrap.py @@ -38,7 +38,7 @@ Optional flags: --no-playwright Skip running `python -m playwright install` (still installs deps) --playwright-only Install only Playwright browsers (installs playwright package if missing) --browsers Comma-separated list of Playwright browsers to install (default: chromium) - --install-editable Install the project in editable mode (pip install -e .) for running tests + --install-editable Install the project in editable mode (pip install -e scripts) for running tests --install-deno Install the Deno runtime using the official installer --no-deno Skip installing the Deno runtime --deno-version Pin a specific Deno version to install (e.g., v1.34.3) @@ -268,7 +268,7 @@ def main() -> int: parser.add_argument( "--install-editable", action="store_true", - help="Install the project in editable mode (pip install -e .) for running tests", + help="Install the project in editable mode (pip install -e scripts) for running tests", ) deno_group = parser.add_mutually_exclusive_group() deno_group.add_argument( @@ -859,7 +859,7 @@ def main() -> int: # Install the project into the local venv (editable mode is the default, opinionated) if not args.quiet: print("Installing project into local venv (editable mode)") - run([str(venv_python), "-m", "pip", "install", "--no-cache-dir", "-e", str(repo_root)]) + run([str(venv_python), "-m", "pip", "install", "--no-cache-dir", "-e", str(repo_root / "scripts")]) # Verify top-level 'CLI' import and, if missing, attempt to make it available if not args.quiet: