annotate setup.py @ 208:e1e885b88baf

Implement keypress in GetanView
author Björn Ricks <bjoern.ricks@intevation.de>
date Fri, 05 Apr 2013 19:49:08 +0200
parents 804211b988aa
children db872ef92bd9
rev   line source
116
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
1 #!/usr/bin/env python
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
2 # -*- coding: utf-8 -*-
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
3 #
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
4 # (c) 2011 by Björn Ricks <bjoern.ricks@intevation.de>
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
5 #
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
6 # A python worklog-alike to log what you have 'getan' (done).
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
7 #
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
8 # This is Free Software licensed under the terms of GPLv3 or later.
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
9 # For details see LICENSE coming with the source of 'getan'.
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
10 #
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
11
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
12 from setuptools import setup, find_packages
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
13
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
14 import os.path
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
15
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
16 import getan
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
17
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
18 def read(fname):
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
19 return open(os.path.join(os.path.dirname(__file__),
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
20 fname)).read()
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
21
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
22 setup(name="getan",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
23 version=getan.__version__,
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
24 description="getan - A worklog like tool",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
25 url="http://hg.intevation.org/getan/",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
26 license = "GPLv3+",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
27 long_description=read("README"),
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
28 packages=find_packages(),
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
29 package_data = {"" : ["*.txt"],
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
30 },
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
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
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
36 classifiers=[
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
37 "Topic :: Utilities",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
38 "Environment :: Console",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
39 "Intended Audience :: Developers",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
40 "Intended Audience :: End Users/Desktop",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
41 "License :: OSI Approved :: GNU General Public License (GPL)",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
42 "Operating System :: POSIX",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
43 "Programming Language :: Python",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
44 ]
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
45 )
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)