annotate setup.py @ 375:db872ef92bd9

Update coding style for pep8
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 10 Mar 2014 10:11:31 +0100
parents 804211b988aa
children 51b2e575f397
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
375
db872ef92bd9 Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents: 121
diff changeset
18
116
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
19 def read(fname):
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
20 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
21 fname)).read()
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
22
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
23 setup(name="getan",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
24 version=getan.__version__,
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
25 description="getan - A worklog like tool",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
26 url="http://hg.intevation.org/getan/",
375
db872ef92bd9 Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents: 121
diff changeset
27 license="GPLv3+",
116
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
28 long_description=read("README"),
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
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
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
38 classifiers=[
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
39 "Topic :: Utilities",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
40 "Environment :: Console",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
41 "Intended Audience :: Developers",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
42 "Intended Audience :: End Users/Desktop",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
43 "License :: OSI Approved :: GNU General Public License (GPL)",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
44 "Operating System :: POSIX",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
45 "Programming Language :: Python",
67a89439e10d Add a setup.py script
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff changeset
46 ]
375
db872ef92bd9 Update coding style for pep8
Björn Ricks <bjoern.ricks@intevation.de>
parents: 121
diff changeset
47 )
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)