aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2012-04-01 08:59:33 -0400
committerJason R. Coombs <jaraco@jaraco.com>2012-04-01 08:59:33 -0400
commit6629eabfe6f39e92ec6396634432df7657bc8843 (patch)
tree1482273c4130ccf90aeb0346fc64b49bdb12550b /setup.py
parentdf1e3725c0ef744f89e1769767e04b78ebc9a525 (diff)
downloadexternal_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-xsetup.py28
1 files changed, 14 insertions, 14 deletions
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)
-
-