Skip to content

Commit

Permalink
Merge pull request #6534 from xoriole/fix/build-script
Browse files Browse the repository at this point in the history
Install pip dependencies during the build
  • Loading branch information
xoriole authored Nov 22, 2021
2 parents 367bc07 + 1a90612 commit 83c829a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/debian/makedist_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ rm -rf build/debian/tribler/usr/share/tribler

python3 build/update_version_from_git.py

# ----- Install pip dependencies before the build
python3 -m pip install --upgrade -r src/requirements.txt

python3 -m PyInstaller tribler.spec

cp -r dist/tribler build/debian/tribler/usr/share/tribler
Expand Down
3 changes: 3 additions & 0 deletions build/mac/makedist_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ export RESOURCES=build/mac/resources
/bin/rm -rf dist

# ----- Build
# ----- Install pip dependencies before the build
python3 -m pip install --upgrade -r src/requirements.txt

PI=pyinstaller
$PI tribler.spec

Expand Down
3 changes: 3 additions & 0 deletions build/win/makedist_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ call build\win\clean.bat

REM ----- Build

REM ----- Install pip dependencies before the build
python3 -m pip install --upgrade -r src\requirements.txt

REM Arno: When adding files here, make sure tribler.nsi actually
REM packs them in the installer .EXE

Expand Down

0 comments on commit 83c829a

Please sign in to comment.