Commit 6629eabf authored by Jason R. Coombs's avatar Jason R. Coombs

Slightly nicer generation of trove classifiers without having to resort to list comprehensions.

--HG--
branch : distribute
extra : rebase_source : 78c6124f2398d786c45ce14fe5de19aa0d09e005
parent df1e3725
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
"""Distutils setup file, used to install or test 'setuptools'""" """Distutils setup file, used to install or test 'setuptools'"""
import sys import sys
import os import os
import textwrap
src_root = None src_root = None
if sys.version_info >= (3,): if sys.version_info >= (3,):
...@@ -197,23 +198,22 @@ dist = setup( ...@@ -197,23 +198,22 @@ dist = setup(
}, },
classifiers = [f.strip() for f in """ classifiers = textwrap.dedent("""
Development Status :: 5 - Production/Stable Development Status :: 5 - Production/Stable
Intended Audience :: Developers Intended Audience :: Developers
License :: OSI Approved :: Python Software Foundation License License :: OSI Approved :: Python Software Foundation License
License :: OSI Approved :: Zope Public License License :: OSI Approved :: Zope Public License
Operating System :: OS Independent Operating System :: OS Independent
Programming Language :: Python Programming Language :: Python
Programming Language :: Python :: 3 Programming Language :: Python :: 3
Topic :: Software Development :: Libraries :: Python Modules Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Archiving :: Packaging Topic :: System :: Archiving :: Packaging
Topic :: System :: Systems Administration Topic :: System :: Systems Administration
Topic :: Utilities""".splitlines() if f.strip()], Topic :: Utilities
""").strip().splitlines(),
scripts = scripts, scripts = scripts,
) )
if _being_installed(): if _being_installed():
from distribute_setup import _after_install from distribute_setup import _after_install
_after_install(dist) _after_install(dist)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment