Skip to content

fix(build): use bootstrap's validated Python; drop fragile re-detection#25

Merged
tcconnally merged 1 commit into
mainfrom
fix/build-python-detection
Jul 4, 2026
Merged

fix(build): use bootstrap's validated Python; drop fragile re-detection#25
tcconnally merged 1 commit into
mainfrom
fix/build-python-detection

Conversation

@tcconnally

Copy link
Copy Markdown
Owner

bootstrap.ps1 validates Python via Get-Command py, then shelled out to build.bat, which discarded that and re-detected with where py/python/python3. That second probe misses installs the PowerShell session resolves fine (3.14 Install Manager / app-execution aliases), so the build aborted with "No Python interpreter found" despite Python being present.

Changes

  • bootstrap.ps1: export HYPERWALL_PY=py before invoking build.bat.
  • build.bat: honor HYPERWALL_PY before its own where probes.
  • bootstrap.ps1: stale HYPERWALL 8.2 banner → v10 (matches __version__).

Verified

Ran the bootstrap-path build (HYPERWALL_PY=py); PyInstaller completes through dist\hyperwall.exe and the repo-root copy (exit 0).

🤖 Generated with Claude Code

…tection

bootstrap.ps1 validates Python via `Get-Command py`, then shelled out to
build.bat which threw that away and re-detected with `where py/python/python3`.
That second probe fails on setups the PowerShell session resolves fine (e.g.
the 3.14 Install Manager / app-execution aliases), so the build aborted with
"No Python interpreter found" even though Python was clearly present.

- bootstrap.ps1: export HYPERWALL_PY=py before calling build.bat.
- build.bat: honor HYPERWALL_PY before its own `where` probes.
- bootstrap.ps1: fix stale "HYPERWALL 8.2" banner -> v10 (matches __version__).

Verified: bootstrap-path build (HYPERWALL_PY=py) runs PyInstaller through to
dist\hyperwall.exe and the repo-root copy.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@tcconnally tcconnally merged commit 4a43434 into main Jul 4, 2026
@tcconnally tcconnally deleted the fix/build-python-detection branch July 4, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant