aboutsummaryrefslogtreecommitdiffstats
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorArif Ali <arif.ali@canonical.com>2022-08-08 12:49:38 +0100
committerJake Hunsaker <jhunsake@redhat.com>2022-08-08 14:41:25 -0400
commitba9c5ab32db982797bdf3a5ba370be5b91c0630c (patch)
treea9169dfe141e2040cc6eb3d2990b73d5d75774f1 /snap/snapcraft.yaml
parentaedeaa6ce85c3607e7e69ac846d1b9f8a3e0f4a1 (diff)
downloadsos-ba9c5ab32db982797bdf3a5ba370be5b91c0630c.tar.gz
[snap] Update snapcraft.yaml to fix PYTHONPATH
Closes: #2994 Signed-off-by: Arif Ali <arif.ali@canonical.com>
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index f8ecdaa8..6d2d27f5 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -25,13 +25,13 @@ parts:
apps:
sos:
environment:
- PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8
+ PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/dist-packages
command: bin/sos
sosreport:
environment:
- PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8
+ PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/dist-packages
command: bin/sos report
sos-collector:
environment:
- PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8
+ PYTHONPATH: ${PYTHONPATH}:${SNAP}/lib/python3.8/dist-packages
command: bin/sos collector