Skip to content

Fix setup.py to pass Python_EXECUTABLE to CMake - #54

Merged
ZwFink merged 1 commit into
mainfrom
fix/setup-py-python-executable
Feb 20, 2026
Merged

ZwFink merged 1 commit into
mainfrom
fix/setup-py-python-executable

Conversation

@ZwFink

@ZwFink ZwFink commented Feb 20, 2026 •

Copy link
Copy Markdown
Member

Summary

  • replace PYTHON_EXECUTABLE with Python_EXECUTABLE in CMake args
  • this matches what find_package(Python ...) consumes
  • ensures extension builds against the interpreter invoking setup.py

Testing

  • python3 setup.py build_ext --inplace --force

@ZwFink
ZwFink merged commit 28d2c7c into main Feb 20, 2026
5 checks passed
@ZwFink
ZwFink deleted the fix/setup-py-python-executable branch February 20, 2026 23:26
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