borg/scripts/msys2-install-deps
Thomas Waldmann 5a78cf42c1
msys2-install-deps: install setuptools-scm
Only needed for pip install --no-build-isolation, where pip does not install
the build-system requirements from pyproject.toml. The script already installs
the other ones via pacman, but setuptools-scm was missing, so packages built
from sdist (e.g. borghash) got version 0.0.0 and dependency resolution failed.

With build isolation (the default, also used by CI), pip installs setuptools-scm
into the build environment anyway.
2026-10-17 21:55:39 +02:00

7 lines
454 B
Bash

#!/bin/bash
pacman -S --needed --noconfirm git mingw-w64-ucrt-x86_64-{toolchain,pkgconf,lz4,openssl,rclone,python-msgpack,python-platformdirs,python,cython,python-setuptools,python-setuptools-scm,python-wheel,python-build,python-pkgconfig,python-packaging,python-pip,python-paramiko,rust,python-maturin}
if [ "$1" = "development" ]; then
pacman -S --needed --noconfirm mingw-w64-ucrt-x86_64-python-{pytest,pytest-benchmark,pytest-cov,pytest-xdist}
fi