Merge pull request #190 from Lab-Osintitalia/main

Snapcraft yaml added
This commit is contained in:
soxoj
2021-10-31 19:52:22 +03:00
committed by GitHub
2 changed files with 48 additions and 0 deletions
Executable
+18
View File
@@ -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()
+30
View File
@@ -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