added snapcraft and bin folder

This commit is contained in:
Lab-OsintItalia
2021-10-03 10:42:04 +02:00
parent aad862b2ed
commit 0dd3f2e137
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: 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
apps:
maigret:
command: bin/maigret
architectures:
- build-on: amd64
- build-on: i386