From: W. Trevor King Date: Thu, 16 Feb 2012 12:25:49 +0000 (-0500) Subject: Add setup.py for distutils packaging. X-Git-Tag: v0.2~2 X-Git-Url: http://git.tremily.us/?p=update-copyright.git;a=commitdiff_plain;h=97646616df31a4c87035c36546c374bae2c012a9 Add setup.py for distutils packaging. --- diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..1be69f5 --- /dev/null +++ b/setup.py @@ -0,0 +1,37 @@ +# Copyright (C) 2012 W. Trevor King + +"Automatically update copyright blurbs in versioned source." + +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__), + 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')), + scripts = ['bin/update-copyright.py'], + packages = ['update_copyright', 'update_copyright.vcs'], + provides = ['update_copyright', 'update_copyright.vcs'], + )