[Getan-commits] [PATCH 2 of 3] Update setup.py
Wald Commits
scm-commit at wald.intevation.org
Tue Mar 11 16:18:32 CET 2014
# HG changeset patch
# User Björn Ricks <bjoern.ricks at intevation.de>
# Date 1394442834 -3600
# Node ID 51b2e575f39713dfa9e1af84df827f40aa89c468
# Parent db872ef92bd96ea38fd352acb25ae079b5f3e1b5
Update setup.py
diff -r db872ef92bd9 -r 51b2e575f397 setup.py
--- a/setup.py Mon Mar 10 10:11:31 2014 +0100
+++ b/setup.py Mon Mar 10 10:13:54 2014 +0100
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
-# (c) 2011 by Björn Ricks <bjoern.ricks at intevation.de>
+# (c) 2011, 2014 by Björn Ricks <bjoern.ricks at intevation.de>
#
# A python worklog-alike to log what you have 'getan' (done).
#
@@ -17,13 +17,13 @@
def read(fname):
- return open(os.path.join(os.path.dirname(__file__),
- fname)).read()
+ with open(os.path.join(os.path.dirname(__file__), fname)) as f:
+ return f.read()
setup(name="getan",
version=getan.__version__,
description="getan - A worklog like tool",
- url="http://hg.intevation.org/getan/",
+ url="https://scm.wald.intevation.org/hg/getan/",
license="GPLv3+",
long_description=read("README"),
packages=find_packages(),
More information about the Getan-commits
mailing list