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

Commit 44e543a

Browse files
committed
fix: install 'build' with pip
1 parent f33ab3e commit 44e543a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: snap/snapcraft.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ apps:
3939
- bin/classic-launch
4040
- bin/desktop-launch
4141
- bin/guiscrcpy
42-
desktop: share/applications/guiscrcpy.desktop
4342

4443
parts:
4544

@@ -61,12 +60,13 @@ parts:
6160
after: [classic-launch, debian-multiarch-triplet-provider-launch]
6261
# See 'snapcraft plugins'
6362
build-packages:
64-
- python3-build
63+
- python3-pip
6564
override-build: |
66-
python -m build .
67-
tar -xvf dist/*.tar.gz setup.py
68-
rm -rf dist
69-
snapcraftctl build
65+
python -m venv $SNAPCRAFT_PART_INSTALL
66+
source $SNAPCRAFT_PART_INSTALL/bin/activate
67+
pip install poetry
68+
python -m poetry install -E PySide2 --no-dev
69+
ls -al $SNAPCRAFT_PART_INSTALL
7070
plugin: python
7171
source: .
7272

0 commit comments

Comments
 (0)