From: W. Trevor King <wking@drexel.edu>
Date: Sun, 25 Mar 2012 12:24:24 +0000 (-0400)
Subject: Move classifiers into a list in setup.py.
X-Git-Tag: v0.5~27
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18628fa86fc4f4647833fab4eefac3b8ffaa137c;p=update-copyright.git

Move classifiers into a list in setup.py.

This avoids:
  Server response (400): Invalid classifier "<filter object at 0x28604d0>"
---

diff --git a/setup.py b/setup.py
index 8bd35a1..a754cad 100644
--- a/setup.py
+++ b/setup.py
@@ -25,15 +25,6 @@ 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(
@@ -48,7 +39,14 @@ _setup(
     description = __doc__,
     long_description=_codecs.open(
         _os_path.join(_this_dir, 'README'), 'r', encoding='utf-8').read(),
-    classifiers = filter(None, classifiers.split('\n')),
+    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',
+        ],
     scripts = ['bin/update-copyright.py'],
     packages = ['update_copyright', 'update_copyright.vcs'],
     provides = ['update_copyright', 'update_copyright.vcs'],