prefix-dev / rip

Solve and install Python packages quickly with rip (pip in Rust)
https://prefix.dev
BSD 3-Clause "New" or "Revised" License
643 stars 21 forks source link

refactor: use which to find the correct python executable #230

Closed baszalmstra closed 6 months ago

baszalmstra commented 6 months ago

On windows, when python was installed using pixi, rip was not able to find the python executable because the extension was .bat. This PR reintroduces which to find the initial python binary to invoke, following by the existing code to determine python binary using python itself.