feat(tool): bundle python for the meson build

- add a python-win tool package that unzips the official python.org
  nuget package into the pkgroot (venv and ensurepip included)
- meson uses it to build its venv and only falls back to a system
  python, so no manual environment setup is needed
This commit is contained in:
m-this
2026-07-08 14:17:36 +02:00
parent 43b2da0511
commit d7902b9931
4 changed files with 80 additions and 2 deletions

View File

@@ -18,6 +18,7 @@ postgresql:
- openssl
- zlib
tools@windows:
- python-win
- meson
- ninja
- winflexbison

View File

@@ -0,0 +1,8 @@
python-win:
type: tool
artifact:
binary: custom
tool:
provides:
- python.exe
binary-subdir: python-win/tools