mirror of
https://github.com/soxoj/maigret.git
synced 2026-05-07 06:24:35 +00:00
Executable
+18
@@ -0,0 +1,18 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
import asyncio
|
||||||
|
import sys
|
||||||
|
|
||||||
|
from maigret.maigret import main
|
||||||
|
|
||||||
|
|
||||||
|
def run():
|
||||||
|
try:
|
||||||
|
loop = asyncio.get_event_loop()
|
||||||
|
loop.run_until_complete(main())
|
||||||
|
except KeyboardInterrupt:
|
||||||
|
print('Maigret is interrupted.')
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
run()
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
name: maigret2
|
||||||
|
version: git
|
||||||
|
summary: SOCMINT / Instagram
|
||||||
|
description: |
|
||||||
|
Test Test Test
|
||||||
|
base: core18
|
||||||
|
confinement: strict
|
||||||
|
|
||||||
|
|
||||||
|
parts:
|
||||||
|
maigret2:
|
||||||
|
plugin: python
|
||||||
|
python-version: python3
|
||||||
|
source: .
|
||||||
|
stage-packages:
|
||||||
|
- python-six
|
||||||
|
|
||||||
|
|
||||||
|
apps:
|
||||||
|
maigret2:
|
||||||
|
command: bin/maigret
|
||||||
|
|
||||||
|
|
||||||
|
architectures:
|
||||||
|
- build-on: amd64
|
||||||
|
- build-on: i386
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user