ci: initial commit
This commit is contained in:
commit
7cfc8e5a41
0
README.rst
Normal file
0
README.rst
Normal file
16
apps/__init__.py
Normal file
16
apps/__init__.py
Normal 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
14
apps/grocy.py
Normal 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
27
setup.py
Normal 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",
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue
Block a user