diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2012-04-01 08:59:33 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2012-04-01 08:59:33 -0400 |
commit | 6629eabfe6f39e92ec6396634432df7657bc8843 (patch) | |
tree | 1482273c4130ccf90aeb0346fc64b49bdb12550b /setup.py | |
parent | df1e3725c0ef744f89e1769767e04b78ebc9a525 (diff) | |
download | external_python_setuptools-6629eabfe6f39e92ec6396634432df7657bc8843.tar.gz external_python_setuptools-6629eabfe6f39e92ec6396634432df7657bc8843.tar.bz2 external_python_setuptools-6629eabfe6f39e92ec6396634432df7657bc8843.zip |
Slightly nicer generation of trove classifiers without having to resort to list comprehensions.
--HG--
branch : distribute
extra : rebase_source : 78c6124f2398d786c45ce14fe5de19aa0d09e005
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 28 |
1 files changed, 14 insertions, 14 deletions
@@ -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) - - |