Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
fix: install 'build' with pip
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Nov 6, 2021
1 parent f33ab3e commit 2039bea
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ apps:
- bin/classic-launch
- bin/desktop-launch
- bin/guiscrcpy
desktop: share/applications/guiscrcpy.desktop
desktop: meta/gui/guiscrcpy.desktop

parts:

Expand All @@ -61,12 +61,14 @@ parts:
after: [classic-launch, debian-multiarch-triplet-provider-launch]
# See 'snapcraft plugins'
build-packages:
- python3-build
- python3-pip
override-build: |
python -m build .
tar -xvf dist/*.tar.gz setup.py
rm -rf dist
snapcraftctl build
python -m venv $SNAPCRAFT_PART_INSTALL
source $SNAPCRAFT_PART_INSTALL/bin/activate
pip install poetry
python -m poetry install -E PySide2 --no-dev
cp
ls -al $SNAPCRAFT_PART_INSTALL
plugin: python
source: .

Expand Down

0 comments on commit 2039bea

Please sign in to comment.