The apps section of prime/meta/snap.yaml does not mention python3 at all:
apps:
juju-act:
command: command-juju-act.wrapper
Setting the command in snapcraft.yaml per above fails to build:
[Errno 2] No such file or directory: '/home/stub/src/juju-act/prime/$SNAP/usr/bin/python3'
If I set command: to '/usr/bin/python3 $SNAP/bin/juju-act', the built snap works fine as expected. The resulting wrapper is calling the correct python3 (although there is a double // that might be a worry):
The apps section of prime/meta/ snap.yaml does not mention python3 at all:
apps: juju-act. wrapper
juju-act:
command: command-
Setting the command in snapcraft.yaml per above fails to build:
[Errno 2] No such file or directory: '/home/ stub/src/ juju-act/ prime/$ SNAP/usr/ bin/python3'
If I set command: to '/usr/bin/python3 $SNAP/bin/ juju-act' , the built snap works fine as expected. The resulting wrapper is calling the correct python3 (although there is a double // that might be a worry):
#!/bin/sh /usr/bin/ python3" $SNAP/bin/juju-act "$@"
exec "$SNAP/