Mercurial > getan
annotate setup.py @ 379:47890f38e558
Let getan crash if entry _get_time doesn't return an int
It's better to have a traceback when _get_time doesn't return an int then to
silently ignore the time.
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Wed, 12 Mar 2014 10:57:21 +0100 |
parents | 51b2e575f397 |
children | 20fde79f8e12 |
rev | line source |
---|---|
116 | 1 #!/usr/bin/env python |
2 # -*- coding: utf-8 -*- | |
3 # | |
376 | 4 # (c) 2011, 2014 by Björn Ricks <bjoern.ricks@intevation.de> |
116 | 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 | |
375
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
18 |
116 | 19 def read(fname): |
376 | 20 with open(os.path.join(os.path.dirname(__file__), fname)) as f: |
21 return f.read() | |
116 | 22 |
23 setup(name="getan", | |
24 version=getan.__version__, | |
25 description="getan - A worklog like tool", | |
376 | 26 url="https://scm.wald.intevation.org/hg/getan/", |
375
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
27 license="GPLv3+", |
116 | 28 long_description=read("README"), |
29 packages=find_packages(), | |
375
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
30 package_data={"": ["*.txt"], }, |
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
31 entry_points={"console_scripts": |
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
32 ["getan=getan.main:main", |
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
33 "getan-classic=getan.classic.getan:main", |
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
34 "zeiterfassung=getan.contrib.zeiterfassung:main", |
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
35 "getan-eval=getan.contrib.getan-eval:main", |
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
36 "zeitsort=getan.contrib.zeitsort:main", |
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
37 ]}, |
116 | 38 classifiers=[ |
39 "Topic :: Utilities", | |
40 "Environment :: Console", | |
41 "Intended Audience :: Developers", | |
42 "Intended Audience :: End Users/Desktop", | |
43 "License :: OSI Approved :: GNU General Public License (GPL)", | |
44 "Operating System :: POSIX", | |
45 "Programming Language :: Python", | |
46 ] | |
375
db872ef92bd9
Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents:
121
diff
changeset
|
47 ) |