Windows: simplify building

Use the standard pip build command, and get rid of the build script.
This commit is contained in:
Rayyan Ansari 2023-03-10 17:51:03 +00:00
parent 16a0e2c3a4
commit ce50c497b0
No known key found for this signature in database
GPG Key ID: 46A8D18E5BC49D84
2 changed files with 3 additions and 7 deletions

View File

@ -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"

View File

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