portable python detection - #3
Merged
Merged
Conversation
Internal embeds Python via pybind11 + <Python.h>, which previously required a fixed C:\Python310/C:\Python313 install. Add python.props that resolves the Python root from (in order): the PythonRoot property, the SPLITGATE_PYTHON_DIR env var, well-known install locations for any CPython 3.x (newest first), and finally the installer path in the registry. The include/libs dirs are injected before ClCompile/Link, and a clear error is raised if no Python is found. Import it from Internal.vcxproj and drop the hardcoded absolute paths. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Bump setup-python to 3.14 and pass its tool-cache root to the build through SPLITGATE_PYTHON_DIR, since the hosted runner does not install Python to C:\Python3XY where python.props probes. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Replace the "expects C:\Python313" note with the new resolution behavior: any Python 3.x, auto-detected from standard locations or the registry, overridable via SPLITGATE_PYTHON_DIR / PythonRoot. Link the Python download page and note the runtime DLL must match. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add .vscode/settings.json search/watcher excludes for the pybind11 submodule, vcpkg_installed, and x64 output so they stop cluttering VS Code search results. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
47PADO47
added this pull request to stack #25
September 14, 2026 17:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stack created with GitHub Stacks CLI • Give Feedback 💬