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

Commit 175f411

Browse files
committed
fix: install 'build' with pip
1 parent f33ab3e commit 175f411

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Diff for: snap/snapcraft.yaml

+4-5
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,11 @@ 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+
pip install poetry
67+
python -m poetry config --local virtualenvs.path $SNAPCRAFT_PART_INSTALL
68+
python -m poetry install
7069
plugin: python
7170
source: .
7271

0 commit comments

Comments
 (0)