1 # Copyright (C) 2012 W. Trevor King
3 # This file is part of update-copyright.
5 # update-copyright is free software: you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation, either version 3 of the
8 # License, or (at your option) any later version.
10 # update-copyright is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 # General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with update-copyright. If not, see
17 # <http://www.gnu.org/licenses/>.
19 "Automatically update copyright blurbs in versioned source."
21 import codecs as _codecs
22 from distutils.core import setup as _setup
23 import os.path as _os_path
25 from update_copyright import __version__
29 Development Status :: 3 - Alpha
30 Intended Audience :: Developers
31 Operating System :: OS Independent
32 License :: OSI Approved :: GNU General Public License (GPL)
33 Programming Language :: Python
34 Topic :: Software Development
37 _this_dir = _os_path.dirname(__file__)
40 name='update-copyright',
42 maintainer='W. Trevor King',
43 maintainer_email='wking@drexel.edu',
44 url='http://blog.tremily.us/posts/update-copyright/',
45 download_url='http://git.tremily.us/?p=update-copyright.git;a=snapshot;h=v{};sf=tgz'.format(__version__),
46 license = 'GNU General Public License (GPL)',
48 description = __doc__,
49 long_description=_codecs.open(
50 _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(),
51 classifiers = filter(None, classifiers.split('\n')),
52 scripts = ['bin/update-copyright.py'],
53 packages = ['update_copyright', 'update_copyright.vcs'],
54 provides = ['update_copyright', 'update_copyright.vcs'],