`dist/` carried in via the source tree can contain a stale wheel from a previous build (e.g. kpmx-1.12.1 alongside the freshly built 1.13.3). Both wheels declare a `bin/pkgmgr` entry, so `pypaInstallPhase` hits FileExistsError on the second install. Wipe `dist/` in `preBuild` so only the fresh wheel is installed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3.9 KiB
3.9 KiB