mschieder@482: #!/usr/bin/env python3 bjoern@116: # -*- coding: utf-8 -*- bjoern@116: # bjoern@376: # (c) 2011, 2014 by Björn Ricks mschieder@488: # (c) 2017, 2018 by Intevation GmbH bernhard@414: # bernhard@414: # Author(s): bernhard@414: # * Björn Ricks bernhard@414: # * Bernhard Reiter mschieder@488: # * Magnus Schieder bjoern@116: # bjoern@116: # A python worklog-alike to log what you have 'getan' (done). bjoern@116: # bjoern@116: # This is Free Software licensed under the terms of GPLv3 or later. bjoern@116: # For details see LICENSE coming with the source of 'getan'. bjoern@116: # bjoern@116: bjoern@380: import os.path bjoern@380: bjoern@116: from setuptools import setup, find_packages bjoern@116: bjoern@116: import getan bjoern@116: bjoern@380: cur_dir = os.path.dirname(__file__) bjoern@380: scripts_dir = os.path.join(cur_dir, "scripts") bjoern@380: bjoern@375: bjoern@116: def read(fname): bjoern@380: with open(os.path.join(cur_dir, fname)) as f: bjoern@376: return f.read() bjoern@116: bjoern@116: setup(name="getan", bjoern@116: version=getan.__version__, bernhard@421: description="Terminal based time-tracking " bernhard@421: "and reporting tool; comparable to 'worklog'.", bernhard@417: url="https://getan.wald.intevation.org/", bernhard@417: download_url="https://scm.wald.intevation.org/hg/getan/", magnus@545: maintainer="magnus.schieder", magnus@545: maintainer_email="magnus.schieder@intevation.de", bjoern@375: license="GPLv3+", bjoern@116: long_description=read("README"), bjoern@116: packages=find_packages(), mschieder@488: python_requires='>=3.4', bjoern@380: package_data={ bjoern@380: "": ["*.txt"], bjoern@381: "getan": ["templates/*"], bjoern@380: }, bernhard@417: install_requires=[ bernhard@417: 'jinja2', bernhard@417: 'urwid>=1.1.2' bernhard@417: ], thomas@503: scripts=[ thomas@505: os.path.join(scripts_dir, "convert-projects"), thomas@505: os.path.join(scripts_dir, "getan-daily-report"), thomas@505: os.path.join(scripts_dir, "getan-report")], bjoern@375: entry_points={"console_scripts": mschieder@486: ["getan=getan.main:main"]}, bjoern@116: classifiers=[ bernhard@417: "Development Status :: 5 - Production/Stable", bjoern@116: "Topic :: Utilities", bjoern@116: "Environment :: Console", bjoern@116: "Intended Audience :: Developers", bjoern@116: "Intended Audience :: End Users/Desktop", bernhard@417: "License :: OSI Approved :: " bernhard@417: "GNU General Public License v3 or later (GPLv3+)", bjoern@116: "Operating System :: POSIX", mschieder@488: "Programming Language :: Python :: 3.4" bjoern@380: ], thomas@505: )