mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-18 18:19:16 -05:00
thanks a lot to @sothix for helping with this! removed pytest-forked, is not found anymore: error: target not found: mingw-w64-ucrt-x86_64-python-pytest-forked use a virtual env to avoid mixup of user with system packages. remove old workaround for setuptools (SETUPTOOLS_USE_DISTUTILS: stdlib). fix pip install use --system-site-packages as a workaround for broken pip install python-cffi. do not upgrade pip setuptools build wheel use python -m pytest to use the one from the venv
7 lines
443 B
Bash
7 lines
443 B
Bash
#!/bin/bash
|
|
|
|
pacman -S --needed --noconfirm git mingw-w64-ucrt-x86_64-{toolchain,pkgconf,zstd,lz4,xxhash,openssl,rclone,python-msgpack,python-argon2_cffi,python-platformdirs,python,cython,python-setuptools,python-wheel,python-build,python-pkgconfig,python-packaging,python-pip,python-paramiko}
|
|
|
|
if [ "$1" = "development" ]; then
|
|
pacman -S --needed --noconfirm mingw-w64-ucrt-x86_64-python-{pytest,pytest-benchmark,pytest-cov,pytest-xdist}
|
|
fi
|