view setup.py @ 148:f0a2beb17f9b

Add config classes to provide keybindings The new Config class to be able to configure getan. Until now it is only possible to configure the Keybinding. The config is read from $HOME/.getan/getanrc and /etc/getanrc of the first file isn't found. If both files aren't available a default is used.
author Björn Ricks <bjoern.ricks@intevation.de>
date Thu, 06 Dec 2012 12:25:58 +0100
parents 804211b988aa
children db872ef92bd9
line wrap: on
line source
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# (c) 2011 by Björn Ricks <bjoern.ricks@intevation.de>
#
# A python worklog-alike to log what you have 'getan' (done).
#
# This is Free Software licensed under the terms of GPLv3 or later.
# For details see LICENSE coming with the source of 'getan'.
#

from setuptools import setup, find_packages

import os.path

import getan

def read(fname):
    return open(os.path.join(os.path.dirname(__file__),
                             fname)).read()

setup(name="getan",
      version=getan.__version__,
      description="getan - A worklog like tool",
      url="http://hg.intevation.org/getan/",
      license = "GPLv3+",
      long_description=read("README"),
      packages=find_packages(),
      package_data = {"" : ["*.txt"],
                     },
      entry_points = { "console_scripts": ["getan=getan.main:main",
          "getan-classic=getan.classic.getan:main",
          "zeiterfassung=getan.contrib.zeiterfassung:main",
          "zeitsort=getan.contrib.zeitsort:main",
          ] },
      classifiers=[
          "Topic :: Utilities",
          "Environment :: Console",
          "Intended Audience :: Developers",
          "Intended Audience :: End Users/Desktop",
          "License :: OSI Approved :: GNU General Public License (GPL)",
          "Operating System :: POSIX",
          "Programming Language :: Python",
      ]
     )
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)