Mercurial > getan
annotate 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 |
rev | line source |
---|---|
116 | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | |
3 # | |
4 # (c) 2011 by Björn Ricks <bjoern.ricks@intevation.de> | |
5 # | |
6 # A python worklog-alike to log what you have 'getan' (done). | |
7 # | |
8 # This is Free Software licensed under the terms of GPLv3 or later. | |
9 # For details see LICENSE coming with the source of 'getan'. | |
10 # | |
11 | |
12 from setuptools import setup, find_packages | |
13 | |
14 import os.path | |
15 | |
16 import getan | |
17 | |
18 def read(fname): | |
19 return open(os.path.join(os.path.dirname(__file__), | |
20 fname)).read() | |
21 | |
22 setup(name="getan", | |
23 version=getan.__version__, | |
24 description="getan - A worklog like tool", | |
25 url="http://hg.intevation.org/getan/", | |
26 license = "GPLv3+", | |
27 long_description=read("README"), | |
28 packages=find_packages(), | |
29 package_data = {"" : ["*.txt"], | |
30 }, | |
31 entry_points = { "console_scripts": ["getan=getan.main:main", | |
121
804211b988aa
Move zeiterfassung and zeitsort to an own module in getan
Björn Ricks <bjoern.ricks@intevation.de>
parents:
118
diff
changeset
|
32 "getan-classic=getan.classic.getan:main", |
804211b988aa
Move zeiterfassung and zeitsort to an own module in getan
Björn Ricks <bjoern.ricks@intevation.de>
parents:
118
diff
changeset
|
33 "zeiterfassung=getan.contrib.zeiterfassung:main", |
804211b988aa
Move zeiterfassung and zeitsort to an own module in getan
Björn Ricks <bjoern.ricks@intevation.de>
parents:
118
diff
changeset
|
34 "zeitsort=getan.contrib.zeitsort:main", |
804211b988aa
Move zeiterfassung and zeitsort to an own module in getan
Björn Ricks <bjoern.ricks@intevation.de>
parents:
118
diff
changeset
|
35 ] }, |
116 | 36 classifiers=[ |
37 "Topic :: Utilities", | |
38 "Environment :: Console", | |
39 "Intended Audience :: Developers", | |
40 "Intended Audience :: End Users/Desktop", | |
41 "License :: OSI Approved :: GNU General Public License (GPL)", | |
42 "Operating System :: POSIX", | |
43 "Programming Language :: Python", | |
44 ] | |
45 ) |