mirror of
https://github.com/nikdoof/NextAction.git
synced 2025-12-13 17:52:17 +00:00
Update to use setuptools
This commit is contained in:
@@ -1,13 +1,15 @@
|
|||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import time
|
|
||||||
import logging
|
import logging
|
||||||
import sys
|
|
||||||
import argparse
|
import argparse
|
||||||
from datetime import datetime
|
|
||||||
|
|
||||||
|
# noinspection PyPackageRequirements
|
||||||
from todoist.api import TodoistAPI
|
from todoist.api import TodoistAPI
|
||||||
|
|
||||||
|
import time
|
||||||
|
import sys
|
||||||
|
from datetime import datetime
|
||||||
|
|
||||||
|
|
||||||
def get_subitems(items, parent_item=None):
|
def get_subitems(items, parent_item=None):
|
||||||
"""Search a flat item list for child items"""
|
"""Search a flat item list for child items"""
|
||||||
|
|||||||
11
setup.py
11
setup.py
@@ -1,4 +1,4 @@
|
|||||||
from distutils.core import setup
|
from setuptools import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='NextAction',
|
name='NextAction',
|
||||||
@@ -10,8 +10,11 @@ setup(
|
|||||||
author_email='andy@tensixtyone.com',
|
author_email='andy@tensixtyone.com',
|
||||||
description='A more GTD-like workflow for Todoist. Uses the REST API to add and remove a @next_action label from tasks.',
|
description='A more GTD-like workflow for Todoist. Uses the REST API to add and remove a @next_action label from tasks.',
|
||||||
entry_points={
|
entry_points={
|
||||||
"distutils.commands": [
|
"console_scripts": [
|
||||||
"nextaction = nextaction:main",
|
"nextaction=nextaction:main",
|
||||||
],
|
],
|
||||||
}
|
},
|
||||||
|
install_requires=[
|
||||||
|
'todoist-python',
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user