From 892a19264f6e0cb855bd556450b8694f20215e3f Mon Sep 17 00:00:00 2001 From: Leo Arias Date: Thu, 6 Apr 2017 03:18:45 +0000 Subject: [PATCH] Add the packaging metadata to build the tootstream snap --- snap/snapcraft.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 snap/snapcraft.yaml diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml new file mode 100644 index 0000000..dba8c17 --- /dev/null +++ b/snap/snapcraft.yaml @@ -0,0 +1,19 @@ +name: tootstream +version: master +summary: A command line interface for interacting with Mastodon instances. +description: | + A command line interface for interacting with Mastodon instances written in + python. + +grade: devel # must be 'stable' to release into candidate/stable channels +confinement: strict + +apps: + tootstream: + command: env LC_ALL=C.UTF-8 python3 $SNAP/lib/python3.5/site-packages/tootstream/toot.py + plugs: [network] + +parts: + tootstream: + source: . + plugin: python