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

Commit 4b52094

Browse files
committed
fix: install 'build' with pip
1 parent f33ab3e commit 4b52094

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Diff for: snap/snapcraft.yaml

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

4444
parts:
4545

@@ -61,12 +61,13 @@ parts:
6161
after: [classic-launch, debian-multiarch-triplet-provider-launch]
6262
# See 'snapcraft plugins'
6363
build-packages:
64-
- python3-build
64+
- python3-pip
6565
override-build: |
66-
python -m build .
67-
tar -xvf dist/*.tar.gz setup.py
68-
rm -rf dist
69-
snapcraftctl build
66+
python -m venv $SNAPCRAFT_PART_INSTALL
67+
source $SNAPCRAFT_PART_INSTALL/bin/activate
68+
pip install poetry
69+
python -m poetry install -E PySide2 --no-dev
70+
ls -al $SNAPCRAFT_PART_INSTALL
7071
plugin: python
7172
source: .
7273

0 commit comments

Comments
 (0)