Mercurial > getan
view setup.py @ 155:497ed1991e85
Modify project selection
The new project selection has two advantages:
1. It's possible to create and run e.g. projects a and aa
Therefore it is possible to create a hirarchy again.
2. When inserting the project key only letters for valid projects are accepted.
E.g. two projects exists aa and ab. In that case it is not possible to insert
ac. Only a will be shown in the footer.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 06 Dec 2012 13:14:22 +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", ] )