Skip to content

portable python detection - #3

Merged
47PADO47 merged 5 commits into
masterfrom
portable-python-detection
Sep 14, 2026
Merged

47PADO47 merged 5 commits into
masterfrom
portable-python-detection

Conversation

@47PADO47

Copy link
Copy Markdown
Member

Stack created with GitHub Stacks CLIGive Feedback 💬

47PADO47 and others added 5 commits September 3, 2026 01:27
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
47PADO47 added this pull request to stack #25 September 14, 2026 17:54
@47PADO47
47PADO47 merged commit 0b18d2f into master Sep 14, 2026
1 check failed
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