add requirements file for pyinstaller

make it easy to change pyinstaller version.
This commit is contained in:
Thomas Waldmann 2025-12-23 18:32:18 +01:00
parent 461f78b2b0
commit 98aa125386
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01
3 changed files with 5 additions and 4 deletions

View file

@ -279,7 +279,7 @@ jobs:
- name: Build Borg fat binaries (${{ matrix.binary }})
if: ${{ matrix.binary && startsWith(github.ref, 'refs/tags/') }}
run: |
pip install 'pyinstaller==6.14.2'
pip install -r requirements.d/pyinstaller.txt
mkdir -p dist/binary
# Ensure locally built binaries in ./dist/binary are found during tox tests
echo "$GITHUB_WORKSPACE/dist/binary" >> "$GITHUB_PATH"
@ -429,7 +429,7 @@ jobs:
tox -e py311-mfusepy
if [[ "${{ matrix.do_binaries }}" == "true" && "${{ startsWith(github.ref, 'refs/tags/') }}" == "true" ]]; then
python -m pip install 'pyinstaller==6.14.2'
python -m pip install -r requirements.d/pyinstaller.txt
mkdir -p dist/binary
pyinstaller --clean --distpath=dist/binary scripts/borg.exe.spec
pushd dist/binary
@ -576,7 +576,7 @@ jobs:
. env/bin/activate
# python -m pip install --upgrade pip
# pip install --upgrade setuptools build wheel
pip install pyinstaller==6.14.2
pip install -r requirements.d/pyinstaller.txt
- name: Build
run: |

2
Vagrantfile vendored
View file

@ -206,7 +206,7 @@ def install_pyinstaller()
. ~/.bash_profile
cd /vagrant/borg
. borg-env/bin/activate
pip install 'pyinstaller==6.14.2'
pip install -r requirements.d/pyinstaller.txt
EOF
end

View file

@ -0,0 +1 @@
pyinstaller==6.14.2