Fix reStructuredText markup for `` */`` in the README.
[update-copyright.git] / setup.py
index 1be69f5a34b284912403701e3247b42cd65188ea..8bd35a1b4d4e0d7903fcf61d550fa39d75062faf 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -1,7 +1,24 @@
-# Copyright (C) 2012 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright is free software: you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 "Automatically update copyright blurbs in versioned source."
 
+import codecs as _codecs
 from distutils.core import setup as _setup
 import os.path as _os_path
 
@@ -24,12 +41,13 @@ _setup(
     version=__version__,
     maintainer='W. Trevor King',
     maintainer_email='wking@drexel.edu',
-    url='http://tremily.us/posts/update-copyright/',
-    download_url='http://physics.drexel.edu/~wking/code/git/gitweb.cgi?p=update-copyright.git;a=snapshot;h=v{};sf=tgz'.format(__version__),
+    url='http://blog.tremily.us/posts/update-copyright/',
+    download_url='http://git.tremily.us/?p=update-copyright.git;a=snapshot;h=v{};sf=tgz'.format(__version__),
     license = 'GNU General Public License (GPL)',
     platforms = ['all'],
     description = __doc__,
-    long_description=open(_os_path.join(_this_dir, 'README'), 'r').read(),
+    long_description=_codecs.open(
+        _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(),
     classifiers = filter(None, classifiers.split('\n')),
     scripts = ['bin/update-copyright.py'],
     packages = ['update_copyright', 'update_copyright.vcs'],