comparison setup.py @ 376:51b2e575f397

Update setup.py
author Björn Ricks <bjoern.ricks@intevation.de>
date Mon, 10 Mar 2014 10:13:54 +0100
parents db872ef92bd9
children 20fde79f8e12
comparison
equal deleted inserted replaced
375:db872ef92bd9 376:51b2e575f397
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*- 2 # -*- coding: utf-8 -*-
3 # 3 #
4 # (c) 2011 by Björn Ricks <bjoern.ricks@intevation.de> 4 # (c) 2011, 2014 by Björn Ricks <bjoern.ricks@intevation.de>
5 # 5 #
6 # A python worklog-alike to log what you have 'getan' (done). 6 # A python worklog-alike to log what you have 'getan' (done).
7 # 7 #
8 # This is Free Software licensed under the terms of GPLv3 or later. 8 # This is Free Software licensed under the terms of GPLv3 or later.
9 # For details see LICENSE coming with the source of 'getan'. 9 # For details see LICENSE coming with the source of 'getan'.
15 15
16 import getan 16 import getan
17 17
18 18
19 def read(fname): 19 def read(fname):
20 return open(os.path.join(os.path.dirname(__file__), 20 with open(os.path.join(os.path.dirname(__file__), fname)) as f:
21 fname)).read() 21 return f.read()
22 22
23 setup(name="getan", 23 setup(name="getan",
24 version=getan.__version__, 24 version=getan.__version__,
25 description="getan - A worklog like tool", 25 description="getan - A worklog like tool",
26 url="http://hg.intevation.org/getan/", 26 url="https://scm.wald.intevation.org/hg/getan/",
27 license="GPLv3+", 27 license="GPLv3+",
28 long_description=read("README"), 28 long_description=read("README"),
29 packages=find_packages(), 29 packages=find_packages(),
30 package_data={"": ["*.txt"], }, 30 package_data={"": ["*.txt"], },
31 entry_points={"console_scripts": 31 entry_points={"console_scripts":
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)