taskwarrior-grocy/setup.py

38 lines
996 B
Python
Raw Normal View History

2018-12-02 15:59:42 -06:00
import os
from setuptools import setup, find_packages
2018-12-02 15:59:42 -06:00
f = open('README.rst')
long_description = f.read().strip()
long_description = long_description.split('readme', 1)[1]
f.close()
2018-12-02 15:59:42 -06:00
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
2018-12-02 15:59:42 -06:00
setup(
name='twservices',
version='0.0.1',
author='Aerex',
author_email='aerex@aerex.me',
description=('A plugin to create, delete, and modify tasks across various services'),
keywords='taskwarrior, grocy',
url='http://packages.python.org/an_example_pypi_project',
packages=find_packages(),
install_requires=['Click', 'pyyaml', 'requests', 'taskw'],
long_description=read('README.rst'),
2018-12-02 15:59:42 -06:00
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
entry_points='''
[console_scripts]
twservices=cli:main
[twservices.apps]
grocy=twservices.apps.grocy:Grocy
''',
2018-12-02 15:59:42 -06:00
)