X-Git-Url: http://git.tremily.us/?p=update-copyright.git;a=blobdiff_plain;f=setup.py;h=347ab1ecd10c4eb45ce880fd99e3642876f257c3;hp=50734fc46521ea5b3c84a27e47ae859171ad9f0d;hb=d50736b78316eeec5b575d298cc24f385b06603c;hpb=7ced600887740333b052fc066ea1acd5963b3d0a diff --git a/setup.py b/setup.py index 50734fc..347ab1e 100644 --- a/setup.py +++ b/setup.py @@ -1,52 +1,51 @@ -# Copyright (C) 2012 W. Trevor King +# 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 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. +# 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 -# . +# You should have received a copy of the GNU General Public License along with +# update-copyright. If not, see . "Automatically update copyright blurbs in versioned source." +import codecs as _codecs from distutils.core import setup as _setup import os.path as _os_path from update_copyright import __version__ -classifiers = """\ -Development Status :: 3 - Alpha -Intended Audience :: Developers -Operating System :: OS Independent -License :: OSI Approved :: GNU General Public License (GPL) -Programming Language :: Python -Topic :: Software Development -""" - _this_dir = _os_path.dirname(__file__) _setup( name='update-copyright', 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__), + maintainer_email='wking@tremily.us', + 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(), - classifiers = filter(None, classifiers.split('\n')), + long_description=_codecs.open( + _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(), + classifiers = [ + 'Development Status :: 3 - Alpha', + 'Intended Audience :: Developers', + 'Operating System :: OS Independent', + 'License :: OSI Approved :: GNU General Public License (GPL)', + 'Programming Language :: Python', + 'Topic :: Software Development', + ], scripts = ['bin/update-copyright.py'], packages = ['update_copyright', 'update_copyright.vcs'], provides = ['update_copyright', 'update_copyright.vcs'],