Use `with_emails` argument in `VCSBackend.authors()`.
[update-copyright.git] / setup.py
1 # Copyright (C) 2012 W. Trevor King
2 #
3 # This file is part of update-copyright.
4 #
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.
9 #
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.
14 #
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/>.
18
19 "Automatically update copyright blurbs in versioned source."
20
21 from distutils.core import setup as _setup
22 import os.path as _os_path
23
24 from update_copyright import __version__
25
26
27 classifiers = """\
28 Development Status :: 3 - Alpha
29 Intended Audience :: Developers
30 Operating System :: OS Independent
31 License :: OSI Approved :: GNU General Public License (GPL)
32 Programming Language :: Python
33 Topic :: Software Development
34 """
35
36 _this_dir = _os_path.dirname(__file__)
37
38 _setup(
39     name='update-copyright',
40     version=__version__,
41     maintainer='W. Trevor King',
42     maintainer_email='wking@drexel.edu',
43     url='http://blog.tremily.us/posts/update-copyright/',
44     download_url='http://physics.drexel.edu/~wking/code/git/gitweb.cgi?p=update-copyright.git;a=snapshot;h=v{};sf=tgz'.format(__version__),
45     license = 'GNU General Public License (GPL)',
46     platforms = ['all'],
47     description = __doc__,
48     long_description=open(_os_path.join(_this_dir, 'README'), 'r').read(),
49     classifiers = filter(None, classifiers.split('\n')),
50     scripts = ['bin/update-copyright.py'],
51     packages = ['update_copyright', 'update_copyright.vcs'],
52     provides = ['update_copyright', 'update_copyright.vcs'],
53     )