include .pyc files in the snap

This commit is contained in:
Michael Hudson-Doyle 2022-12-15 13:30:02 +13:00
parent 09c498f01e
commit 978b45626f
1 changed files with 8 additions and 0 deletions

View File

@ -121,6 +121,14 @@ parts:
- ssh-import-id
- ubuntu-advantage-tools
stage:
- "*"
- "-usr/lib/python2.7/"
override-prime: |
snapcraftctl prime
"./usr/bin/python3" -m compileall -q .
organize:
bin/subiquity-tui: usr/bin/subiquity
bin/subiquity-service: usr/bin/subiquity-service