소스 검색

Windows: simplify building

Use the standard pip build command, and get rid of the build script.
Rayyan Ansari 2 년 전
부모
커밋
ce50c497b0
2개의 변경된 파일3개의 추가작업 그리고 7개의 파일을 삭제
  1. 3 2
      .github/workflows/windows.yml
  2. 0 5
      scripts/msys2-build

+ 3 - 2
.github/workflows/windows.yml

@@ -22,7 +22,9 @@ jobs:
       - name: Install dependencies
         run: ./scripts/msys2-install-deps development
       - name: Build
-        run: ./scripts/msys2-build
+        run: |
+          pip install -e .
+          pyinstaller -y scripts/borg.exe.spec
       - uses: actions/upload-artifact@v3
         with:
           name: borg-windows
@@ -30,5 +32,4 @@ jobs:
       - name: Run tests
         run: |
           ./dist/borg.exe -V
-          pip install -e .
           pytest --benchmark-skip -vv -rs -k "not remote"

+ 0 - 5
scripts/msys2-build

@@ -1,5 +0,0 @@
-#!/bin/bash
-
-python setup.py build_ext --inplace
-python setup.py bdist_wheel
-pyinstaller -y scripts/borg.exe.spec