mirror of
https://github.com/borgbackup/borg.git
synced 2026-02-03 20:40:16 -05:00
add requirements file for pyinstaller
make it easy to change pyinstaller version.
This commit is contained in:
parent
461f78b2b0
commit
98aa125386
3 changed files with 5 additions and 4 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
|
@ -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
2
Vagrantfile
vendored
|
|
@ -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
|
||||
|
||||
|
|
|
|||
1
requirements.d/pyinstaller.txt
Normal file
1
requirements.d/pyinstaller.txt
Normal file
|
|
@ -0,0 +1 @@
|
|||
pyinstaller==6.14.2
|
||||
Loading…
Reference in a new issue