From b91d3d6618b36451c3a03e97d6a71d2a51058bd1 Mon Sep 17 00:00:00 2001 From: Alexander Artemenko Date: Fri, 13 Feb 2009 01:18:43 +0300 Subject: [PATCH] Now this package is available on PyPi. Script gtd.py was moved to gtd. LICENSE and setup.py were added. --- .gitignore | 3 +++ LICENSE | 24 ++++++++++++++++++++++++ README.markdown | 22 +++++++++++++++++----- aliases | 2 +- development-requirements | 1 + gtd.py => gtd | 0 requirements | 1 - setup.py | 33 +++++++++++++++++++++++++++++++++ 8 files changed, 79 insertions(+), 7 deletions(-) create mode 100644 LICENSE create mode 100644 development-requirements rename gtd.py => gtd (100%) create mode 100644 setup.py diff --git a/.gitignore b/.gitignore index dce8a33..abbb86f 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,6 @@ *.sqlite* .vim ctags +MANIFEST +dist +build diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d517661 --- /dev/null +++ b/LICENSE @@ -0,0 +1,24 @@ +Copyright (c) 2009, Alexander Artemenko +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of the gtdzen nor the + names of its contributors may be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY ALEXANDER ARTEMENKO ''AS IS'' AND ANY +EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL ALEXANDER ARTEMENKO BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.markdown b/README.markdown index bba8902..ed2861d 100644 --- a/README.markdown +++ b/README.markdown @@ -1,19 +1,27 @@ GTDzen ------- +====== This is a simple but flexible library and application to realize [Getting Things Done][gtd] method by David Allen. GTDzen is based on a simplicity, so you'll not find any projects, contexts or areas of responsibility. I'm sure, that all you need is smart tagging and correct priorities, I call it - "Tagged GTD Workflow". +Installation +------------ + +First of all, you need to install all requirements. Next, you can install gtdzen. + +If you install from the source, run `python setup.py install`. + +If you wish to install from the PyPi, use `easy_install gtdzen` or `pip install gtdzen`. + Tutorial -======== +-------- There is only command line interface right now. But I'll be happy if somebody helps me to build a GUI for Mac OS X. I use such aliases in the ZSH/BASH: - alias gtd='./gtd.py' alias gtshow='gtd show' alias gtwork='gtd show today,work' alias gthome='gtd show today,home' @@ -64,14 +72,18 @@ The command 'gtd update' accepts almost the same parameters as 'gtd add' command Ok, it's all. Have a fun and build your own tagged GTD workflow. TODO -==== +---- -* setup.py script. * task annotations. * help for command line interface. * automatic database migrations. * import/export to/from some XML format. +License +------- + +This code is licensed under the New BSD License. See more details in the LICENSE file. + Contacts -------- diff --git a/aliases b/aliases index d191a0e..b2e6d4b 100644 --- a/aliases +++ b/aliases @@ -1,4 +1,4 @@ -alias gtd='./gtd.py' +alias gtd='./gtd' alias gtshow='gtd show' alias gtwork='gtd show today,work' alias gthome='gtd show today,home' diff --git a/development-requirements b/development-requirements new file mode 100644 index 0000000..49a7ffe --- /dev/null +++ b/development-requirements @@ -0,0 +1 @@ +ipython diff --git a/gtd.py b/gtd similarity index 100% rename from gtd.py rename to gtd diff --git a/requirements b/requirements index e014c92..6671031 100644 --- a/requirements +++ b/requirements @@ -1,3 +1,2 @@ SQLAlchemy Elixir -sqlalchemy-migrate diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..952b77b --- /dev/null +++ b/setup.py @@ -0,0 +1,33 @@ +from distutils.core import setup + +setup( + name = 'gtdzen', + version = __import__('gtdzen').__version__, + description = 'Simple but flexible Getting Things Done task manager with tag-oriented workflow.', + long_description = open('README.markdown').read(), + author = 'Alexander Artemenko', + author_email = 'svetlyak.40wt@gmail.com', + license = 'New BSD License', + keywords = 'GTD, TODO, time management', + url = 'http://github.com/svetlyak40wt/gtdzen/', + packages = ['gtdzen'], + scripts = ['gtd'], + classifiers = [ + 'Development Status :: 3 - Alpha', + 'Environment :: Console', + 'Intended Audience :: End Users/Desktop', + 'Intended Audience :: Information Technology', + 'Intended Audience :: Developers', + 'License :: OSI Approved :: BSD License', + 'Natural Language :: English', + 'Operating System :: Unix', + 'Programming Language :: Python', + 'Topic :: Office/Business :: Scheduling', + 'Topic :: Software Development :: Libraries :: Python Modules', + ], + requires = [ + 'SQLAlchemy', + 'Elixir', + ], +) +