# HG changeset patch # User Bernhard Reiter # Date 1493821764 -7200 # Node ID d6d9d319bd2eea43b123a991a2f28fd16df827d8 # Parent 857d76de4a2f13ff3f69ad0d6e5c8a7a1185e9ea Prepares for PyPi publication. diff -r 857d76de4a2f -r d6d9d319bd2e README --- a/README Wed May 03 14:06:35 2017 +0200 +++ b/README Wed May 03 16:29:24 2017 +0200 @@ -1,3 +1,19 @@ +Usage +===== + +Call ``getan`` or ``getan.py`` in a terminal to start +with an empty list of tasks that you want to track time for. + +Use the Insert-Key to add a new task to track. +(A *task* is called *project* within getan.) + +Now select one of the projects with the arrow keys from your keyboard +and press enter to start the clock. See ``INTRODUCTION`` for more keyboard +commands. + +The time log entries will be saved in an sqlite database. +The ``scripts/`` will help to generate reports from them. + Installation ============ @@ -125,4 +141,4 @@ $ getan-classic /path/to/mytime.db -# vim: set ts=4 sw=4 tw=80 filetype=rst : +.. vim: set ts=4 sw=4 tw=80 filetype=rst : diff -r 857d76de4a2f -r d6d9d319bd2e setup.py --- a/setup.py Wed May 03 14:06:35 2017 +0200 +++ b/setup.py Wed May 03 16:29:24 2017 +0200 @@ -31,8 +31,12 @@ setup(name="getan", version=getan.__version__, - description="getan - A worklog like tool", - url="https://scm.wald.intevation.org/hg/getan/", + description="getan - terminal based time-tracking " + "and reporting; comparable to 'worklog'", + url="https://getan.wald.intevation.org/", + download_url="https://scm.wald.intevation.org/hg/getan/", + maintainer="Bernhard E. Reiter", + maintainer_email="bernhard.reiter@intevation.de", license="GPLv3+", long_description=read("README"), packages=find_packages(), @@ -40,6 +44,10 @@ "": ["*.txt"], "getan": ["templates/*"], }, + install_requires=[ + 'jinja2', + 'urwid>=1.1.2' + ], scripts=glob.glob(os.path.join(scripts_dir, "*.py")) + [os.path.join(scripts_dir, "wochenbericht"), os.path.join(scripts_dir, "convert-projects")], @@ -48,12 +56,14 @@ "getan-classic=getan.classic.getan:main", ]}, classifiers=[ + "Development Status :: 5 - Production/Stable", "Topic :: Utilities", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", - "License :: OSI Approved :: GNU General Public License (GPL)", + "License :: OSI Approved :: " + "GNU General Public License v3 or later (GPLv3+)", "Operating System :: POSIX", - "Programming Language :: Python", + "Programming Language :: Python :: 2" ], )