summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-02-28 10:58:40 -0700
committerCharles Harris <charlesr.harris@gmail.com>2013-02-28 10:58:40 -0700
commitb990ed5a18b58715fa1e13642bc7f6761e597818 (patch)
tree1c00d8287357e42d3e4cbc08291b939851ad10c1 /setup.py
parent0934653e151969f6912c911b5113306bd5f450f1 (diff)
downloadnumpy-b990ed5a18b58715fa1e13642bc7f6761e597818.tar.gz
2to3: Apply `filter` fixes. Closes #3053.
Generally, this involves using list comprehension, or explicit list construction as `filter` is an iterator in Python 3.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index 40b021045..5c69f6e13 100755
--- a/setup.py
+++ b/setup.py
@@ -50,7 +50,7 @@ LONG_DESCRIPTION = "\n".join(DOCLINES[2:])
URL = "http://www.numpy.org"
DOWNLOAD_URL = "http://sourceforge.net/projects/numpy/files/NumPy/"
LICENSE = 'BSD'
-CLASSIFIERS = filter(None, CLASSIFIERS.split('\n'))
+CLASSIFIERS = [_f for _f in CLASSIFIERS.split('\n') if _f]
AUTHOR = "Travis E. Oliphant et al."
AUTHOR_EMAIL = "oliphant@enthought.com"
PLATFORMS = ["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"]