From 18628fa86fc4f4647833fab4eefac3b8ffaa137c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 25 Mar 2012 08:24:24 -0400 Subject: [PATCH] Move classifiers into a list in setup.py. This avoids: Server response (400): Invalid classifier "" --- setup.py | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) 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'], -- 2.26.2