From 97646616df31a4c87035c36546c374bae2c012a9 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 16 Feb 2012 07:25:49 -0500 Subject: [PATCH 1/1] Add setup.py for distutils packaging. --- setup.py | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 setup.py 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'], + ) -- 2.26.2