mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2517] [CLOSED] setup: prefer the cmake/ninja in venv over one on regular PATH #4092
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4092
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2517
Author: @zacaj
Created: 10/15/2026
Status: ❌ Closed
Base:
main← Head:setup-prefer-venv-cmake📝 Commits (1)
a519aaasetup: prefer the cmake/ninja installed next to this Python over one on PATH📊 Changes
1 file changed (+11 additions, -9 deletions)
View changed files
📝
setup.py(+11 -9)📄 Description
Summary
find_tool used the first cmake on PATH that ran, so if the user already had cmake installed, it'd use that even though setup pip-installs its own into .venv, which can cause problems if it's not a compatible version.
What changed
Check for a binary in the local venv Scripts/ folder before checking trying
which🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.