Skip to content

Commit

Permalink
Optimize for building AppImage in Focal Multipass VM
Browse files Browse the repository at this point in the history
Add --no-cache-dir option to pip.
Change python version to 3.8.
  • Loading branch information
DavidoTek committed Sep 3, 2021
1 parent 227fe1a commit 57621f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ script:
- cp pupgui AppDir/usr/src -r
- pyside6-uic ui/protonup_mainwindow.ui > AppDir/usr/src/pupgui/protonup_mainwindow.py
- cp ui/pupgui.png AppDir/usr/share/icons/hicolor/256x256/apps
- python3 -m pip install --ignore-installed --prefix=/usr --root=AppDir -r ./requirements.txt
- python3 -m pip install --ignore-installed --prefix=/usr --no-cache-dir --root=AppDir -r ./requirements.txt


AppDir:
Expand Down Expand Up @@ -35,7 +35,7 @@ AppDir:
runtime:
env:
PYTHONHOME: '${APPDIR}/usr'
PYTHONPATH: '${APPDIR}/usr/lib/python3.9/site-packages'
PYTHONPATH: '${APPDIR}/usr/lib/python3.8/site-packages'


AppImage:
Expand Down

0 comments on commit 57621f7

Please sign in to comment.