From 7b5813e1517a8136ef4df226862162e4c024cd3e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Fri, 3 Nov 2017 12:34:47 +0100 Subject: [PATCH] Renamed project from notiier to runbullet --- .gitignore | 1 + README.md | 5 ++++ notifier.py => runbullet/__init__.py | 0 .../config.example.yaml | 2 +- .../create_device.sh | 0 {lib => runbullet/lib}/plugins/__init__.py | 0 .../lib}/plugins/music/__init__.py | 0 .../lib}/plugins/music/mpd/__init__.py | 0 .../lib}/plugins/music/mpd/config.yaml | 0 .../lib}/plugins/shell/__init__.py | 0 pusher.py => runbullet/pusher.py | 0 setup.py | 23 +++++++++++++++++++ 12 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 README.md rename notifier.py => runbullet/__init__.py (100%) rename config.example.yaml => runbullet/config.example.yaml (89%) rename create_device.sh => runbullet/create_device.sh (100%) rename {lib => runbullet/lib}/plugins/__init__.py (100%) rename {lib => runbullet/lib}/plugins/music/__init__.py (100%) rename {lib => runbullet/lib}/plugins/music/mpd/__init__.py (100%) rename {lib => runbullet/lib}/plugins/music/mpd/config.yaml (100%) rename {lib => runbullet/lib}/plugins/shell/__init__.py (100%) rename pusher.py => runbullet/pusher.py (100%) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index bf19d58c6..0cf11e064 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.pyc __pycache__ config.yaml +build/ diff --git a/README.md b/README.md new file mode 100644 index 000000000..7f02bce5f --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +Runbullet +========= + +Execute any command or custom complex logic on your devices, wherever they are, using your PushBullet account. + diff --git a/notifier.py b/runbullet/__init__.py similarity index 100% rename from notifier.py rename to runbullet/__init__.py diff --git a/config.example.yaml b/runbullet/config.example.yaml similarity index 89% rename from config.example.yaml rename to runbullet/config.example.yaml index 91c14fa8f..e0501da34 100644 --- a/config.example.yaml +++ b/runbullet/config.example.yaml @@ -1,6 +1,6 @@ pushbullet: token: your_pushbullet_token_here - device: your_pushbullet_device_here # Virtual PushBullet device linked to notifier + device: your_pushbullet_device_here # Virtual PushBullet device linked to runbullet # device_id: (default: current hostname) # debug: True (default: False) diff --git a/create_device.sh b/runbullet/create_device.sh similarity index 100% rename from create_device.sh rename to runbullet/create_device.sh diff --git a/lib/plugins/__init__.py b/runbullet/lib/plugins/__init__.py similarity index 100% rename from lib/plugins/__init__.py rename to runbullet/lib/plugins/__init__.py diff --git a/lib/plugins/music/__init__.py b/runbullet/lib/plugins/music/__init__.py similarity index 100% rename from lib/plugins/music/__init__.py rename to runbullet/lib/plugins/music/__init__.py diff --git a/lib/plugins/music/mpd/__init__.py b/runbullet/lib/plugins/music/mpd/__init__.py similarity index 100% rename from lib/plugins/music/mpd/__init__.py rename to runbullet/lib/plugins/music/mpd/__init__.py diff --git a/lib/plugins/music/mpd/config.yaml b/runbullet/lib/plugins/music/mpd/config.yaml similarity index 100% rename from lib/plugins/music/mpd/config.yaml rename to runbullet/lib/plugins/music/mpd/config.yaml diff --git a/lib/plugins/shell/__init__.py b/runbullet/lib/plugins/shell/__init__.py similarity index 100% rename from lib/plugins/shell/__init__.py rename to runbullet/lib/plugins/shell/__init__.py diff --git a/pusher.py b/runbullet/pusher.py similarity index 100% rename from pusher.py rename to runbullet/pusher.py diff --git a/setup.py b/setup.py new file mode 100644 index 000000000..cd22c2190 --- /dev/null +++ b/setup.py @@ -0,0 +1,23 @@ +import os +from setuptools import setup + +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + +setup( + name = "runbullet", + version = "0.1", + author = "Fabio Manganiello", + author_email = "info@fabiomanganiello.com", + description = ("Runbullet service"), + license = "BSD", + keywords = "pushbullet notifications automation", + url = "https://www.fabiomanganiello.com", + packages=['runbullet'], + long_description=read('README.md'), + classifiers=[ + "Topic :: Utilities", + "License :: OSI Approved :: BSD License", + ], +) +