1be69f5a34b284912403701e3247b42cd65188ea
[update-copyright.git] / setup.py
1 # Copyright (C) 2012 W. Trevor King <wking@drexel.edu>
2
3 "Automatically update copyright blurbs in versioned source."
4
5 from distutils.core import setup as _setup
6 import os.path as _os_path
7
8 from update_copyright import __version__
9
10
11 classifiers = """\
12 Development Status :: 3 - Alpha
13 Intended Audience :: Developers
14 Operating System :: OS Independent
15 License :: OSI Approved :: GNU General Public License (GPL)
16 Programming Language :: Python
17 Topic :: Software Development
18 """
19
20 _this_dir = _os_path.dirname(__file__)
21
22 _setup(
23     name='update-copyright',
24     version=__version__,
25     maintainer='W. Trevor King',
26     maintainer_email='wking@drexel.edu',
27     url='http://tremily.us/posts/update-copyright/',
28     download_url='http://physics.drexel.edu/~wking/code/git/gitweb.cgi?p=update-copyright.git;a=snapshot;h=v{};sf=tgz'.format(__version__),
29     license = 'GNU General Public License (GPL)',
30     platforms = ['all'],
31     description = __doc__,
32     long_description=open(_os_path.join(_this_dir, 'README'), 'r').read(),
33     classifiers = filter(None, classifiers.split('\n')),
34     scripts = ['bin/update-copyright.py'],
35     packages = ['update_copyright', 'update_copyright.vcs'],
36     provides = ['update_copyright', 'update_copyright.vcs'],
37     )