diff 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
line wrap: on
line diff
--- 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@intevation.de>
+# (c) 2011, 2014 by Björn Ricks <bjoern.ricks@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(),
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)