commit 7cfc8e5a41d89c6f376b3b8fe8fb874e801c0e01 Author: Aerex Date: Sun Dec 2 15:59:42 2018 -0600 ci: initial commit diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..e69de29 diff --git a/apps/__init__.py b/apps/__init__.py new file mode 100644 index 0000000..65e519c --- /dev/null +++ b/apps/__init__.py @@ -0,0 +1,16 @@ +class TaskService(object): + def __init__(self, config): + self.config = config + + def add(): + raise NotImplementedError() + + def modify(): + raise NotImplementedError() + + + + + + + diff --git a/apps/grocy.py b/apps/grocy.py new file mode 100644 index 0000000..1fdca8e --- /dev/null +++ b/apps/grocy.py @@ -0,0 +1,14 @@ +from twservices.apps import TaskService + +class Grocy(TaskService): + + def __init__(self, config): + self.api_token = config.api_token + self.logger = config.logger + + + + + + + diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..dd18aeb --- /dev/null +++ b/setup.py @@ -0,0 +1,27 @@ +import os +from setuptools import setup +f = open('README.rst') + +long_description = f.read().strip() +long_description = long_description.split('readme', 1)[1] +f.close() + +def read(fname): + return open(os.path.join(os.path.dirname(__file__), fname)).read() + +setup( + name = "taskwarrior-grocy", + version = "0.0.1", + author = "Aer=ex", + author_email = "aerex@aerex.me", + description = ("A plugin to create, delete, and modify tasks from and to grocy"), + keywords = "taskwarrior, grocy", + url = "http://packages.python.org/an_example_pypi_project", + packages=['requests', 'taskw', 'pytz'], + long_description=read('README'), + classifiers=[ + "Development Status :: 3 - Alpha", + "Topic :: Utilities", + "License :: OSI Approved :: BSD License", + ], + )