From eb1538ca5034b0cf2ffcf551c736144cd7fa8f28 Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Tue, 5 Dec 2017 23:17:09 -0600 Subject: [PATCH] Fix the source The source is relative to the directory where snapcraft is run, not to the directory where the snapcraft.yaml is. --- snap/snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index a7fa7b4..5495548 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -10,9 +10,9 @@ confinement: devmode # use 'strict' once you have the right plugs and slots parts: hello-python: # See 'snapcraft plugins' - source: ../src + source: src plugin: python apps: hello-python: - command: python3 ../src/main.py + command: python3 main.py