diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6ad0bed..d7706002 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -224,8 +224,11 @@ jobs: run: ./scripts/msys2-install-deps development - name: Build run: | - pip install -e . + # build borg.exe + SETUPTOOLS_USE_DISTUTILS=stdlib pip install -e . pyinstaller -y scripts/borg.exe.spec + # build sdist and wheel in dist/... + SETUPTOOLS_USE_DISTUTILS=stdlib python -m build - uses: actions/upload-artifact@v3 with: name: borg-windows diff --git a/scripts/msys2-install-deps b/scripts/msys2-install-deps index 227f505d..ef36ae5c 100644 --- a/scripts/msys2-install-deps +++ b/scripts/msys2-install-deps @@ -1,6 +1,6 @@ #!/bin/bash -pacman -S --needed --noconfirm git mingw-w64-ucrt-x86_64-{toolchain,pkgconf,zstd,lz4,xxhash,openssl,python-msgpack,python-argon2_cffi,python-platformdirs,python,cython,python-setuptools,python-wheel,python-pkgconfig,python-packaging,python-pip} +pacman -S --needed --noconfirm git mingw-w64-ucrt-x86_64-{toolchain,pkgconf,zstd,lz4,xxhash,openssl,python-msgpack,python-argon2_cffi,python-platformdirs,python,cython,python-setuptools,python-wheel,python-build,python-pkgconfig,python-packaging,python-pip} pip install pyinstaller if [ "$1" = "development" ]; then