Skip to content

Commit 100c5f4

Browse files
committed
snap: speed up startup
1 parent f9c4f29 commit 100c5f4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

snap/snapcraft.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ description: |
77
using public APIs. Results are displayed with color formatting and details
88
using the rich library.
99
10+
compression: lzo
11+
1012
grade: stable
1113
confinement: strict
1214
license: MIT
@@ -16,6 +18,9 @@ apps:
1618
command: bin/python3 $SNAP/bin/cvecli
1719
plugs:
1820
- network
21+
environment:
22+
PYTHONDONTWRITEBYTECODE: "1"
23+
PYTHONOPTIMIZE: "1"
1924

2025
parts:
2126
cvecli:

0 commit comments

Comments
 (0)