We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aad862b commit 0dd3f2eCopy full SHA for 0dd3f2e
bin/maigret
@@ -0,0 +1,18 @@
1
+#!/usr/bin/env python3
2
+import asyncio
3
+import sys
4
+
5
+from maigret.maigret import main
6
7
8
+def run():
9
+ try:
10
+ loop = asyncio.get_event_loop()
11
+ loop.run_until_complete(main())
12
+ except KeyboardInterrupt:
13
+ print('Maigret is interrupted.')
14
+ sys.exit(1)
15
16
17
+if __name__ == "__main__":
18
+ run()
snapcraft.yaml
@@ -0,0 +1,30 @@
+name: maigret
+version: git
+summary: v
+description: |
+ Test Test Test
+base: core18
+confinement: strict
+parts:
+ maigret:
+ plugin: python
+ python-version: python3
+ source: .
+ stage-packages:
+ - python-six
19
+apps:
20
21
+ command: bin/maigret
22
23
24
+architectures:
25
+ - build-on: amd64
26
+ - build-on: i386
27
28
29
30
0 commit comments