summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-02-18 20:00:33 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-02-18 20:00:33 -0500
commit7fe7cf1528d70d270cac3cc1347e21bf8d67e447 (patch)
tree2bde6cc91df2faaac02a429198842fb3b8b1b05f /setup.py
parent671ce96c6b578fc22a56c8bf7d229039ddafd5a4 (diff)
downloadcmd2-git-7fe7cf1528d70d270cac3cc1347e21bf8d67e447.tar.gz
Fix a Python 2 vs Python 3 bug in setup.py
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py40
1 files changed, 20 insertions, 20 deletions
diff --git a/setup.py b/setup.py
index 696fc824..1bc0e8f9 100755
--- a/setup.py
+++ b/setup.py
@@ -33,26 +33,26 @@ Drop-in replacement adds several features for command-prompt tools:
Useable without modification anywhere cmd is used; simply import cmd2.Cmd in place of cmd.Cmd.
"""
-CLASSIFIERS = filter(None, map(str.strip,
- """
- Development Status :: 5 - Production/Stable
- Environment :: Console
- Operating System :: OS Independent
- Intended Audience :: Developers
- Intended Audience :: System Administrators
- License :: OSI Approved :: MIT License
- Programming Language :: Python
- Programming Language :: Python :: 2
- Programming Language :: Python :: 2.7
- Programming Language :: Python :: 3
- Programming Language :: Python :: 3.3
- Programming Language :: Python :: 3.4
- Programming Language :: Python :: 3.5
- Programming Language :: Python :: 3.6
- Programming Language :: Python :: Implementation :: CPython
- Programming Language :: Python :: Implementation :: PyPy
- Topic :: Software Development :: Libraries :: Python Modules
- """.splitlines()))
+CLASSIFIERS = list(filter(None, map(str.strip,
+"""
+Development Status :: 5 - Production/Stable
+Environment :: Console
+Operating System :: OS Independent
+Intended Audience :: Developers
+Intended Audience :: System Administrators
+License :: OSI Approved :: MIT License
+Programming Language :: Python
+Programming Language :: Python :: 2
+Programming Language :: Python :: 2.7
+Programming Language :: Python :: 3
+Programming Language :: Python :: 3.3
+Programming Language :: Python :: 3.4
+Programming Language :: Python :: 3.5
+Programming Language :: Python :: 3.6
+Programming Language :: Python :: Implementation :: CPython
+Programming Language :: Python :: Implementation :: PyPy
+Topic :: Software Development :: Libraries :: Python Modules
+""".splitlines())))
INSTALL_REQUIRES = ['pyparsing >= 2.0.1', 'six']
# unitest.mock was added in Python 3.3. mock is a backport of unittest.mock to all versions of Python