From 6629eabfe6f39e92ec6396634432df7657bc8843 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 1 Apr 2012 08:59:33 -0400 Subject: Slightly nicer generation of trove classifiers without having to resort to list comprehensions. --HG-- branch : distribute extra : rebase_source : 78c6124f2398d786c45ce14fe5de19aa0d09e005 --- setup.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index f576b520..d6c8ee0d 100755 --- a/setup.py +++ b/setup.py @@ -2,6 +2,7 @@ """Distutils setup file, used to install or test 'setuptools'""" import sys import os +import textwrap src_root = None if sys.version_info >= (3,): @@ -197,23 +198,22 @@ dist = setup( }, - classifiers = [f.strip() for f in """ - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: Python Software Foundation License - License :: OSI Approved :: Zope Public License - Operating System :: OS Independent - Programming Language :: Python - Programming Language :: Python :: 3 - Topic :: Software Development :: Libraries :: Python Modules - Topic :: System :: Archiving :: Packaging - Topic :: System :: Systems Administration - Topic :: Utilities""".splitlines() if f.strip()], + classifiers = textwrap.dedent(""" + Development Status :: 5 - Production/Stable + Intended Audience :: Developers + License :: OSI Approved :: Python Software Foundation License + License :: OSI Approved :: Zope Public License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 3 + Topic :: Software Development :: Libraries :: Python Modules + Topic :: System :: Archiving :: Packaging + Topic :: System :: Systems Administration + Topic :: Utilities + """).strip().splitlines(), scripts = scripts, ) if _being_installed(): from distribute_setup import _after_install _after_install(dist) - - -- cgit v1.2.1