borg/scripts/msys2-install-deps
Thomas Waldmann 2b37f3353c
Windows CI: install setuptools-scm via pacman
setup.py's setup_requires makes "python setup.py" fetch the latest
setuptools_scm as an egg, without its new vcs_versioning dependency,
so borg/_version.py was never generated and borg.exe failed to start.

The msys2 package pulls in python-vcs-versioning as a dependency.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 19:06:55 +01:00

4 lines
265 B
Bash

#!/bin/bash
pacman -S --needed --noconfirm git mingw-w64-ucrt-x86_64-{toolchain,pkgconf,zstd,lz4,xxhash,openssl,python,cython,python-setuptools,python-wheel,python-pkgconfig,python-packaging,python-msgpack,python-pip,python-setuptools-scm}
pip install pyinstaller