ci: initial commit

This commit is contained in:
Aerex 2018-12-02 15:59:42 -06:00
commit 7cfc8e5a41
4 changed files with 57 additions and 0 deletions

0
README.rst Normal file
View File

16
apps/__init__.py Normal file
View File

@ -0,0 +1,16 @@
class TaskService(object):
def __init__(self, config):
self.config = config
def add():
raise NotImplementedError()
def modify():
raise NotImplementedError()

14
apps/grocy.py Normal file
View File

@ -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

27
setup.py Normal file
View File

@ -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",
],
)