From 169639bd253b55bbc4ef021a666c57b6029d3c5f Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 3 Jun 2018 09:12:06 -0400 Subject: Remove redundant 'list' --- setuptools/wheel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'setuptools/wheel.py') diff --git a/setuptools/wheel.py b/setuptools/wheel.py index d7ce56bf..193edafd 100644 --- a/setuptools/wheel.py +++ b/setuptools/wheel.py @@ -130,11 +130,11 @@ class Wheel(object): return str(req) install_requires = list(sorted(map(raw_req, dist.requires()))) extras_require = { - extra: list(sorted( + extra: sorted( req for req in map(raw_req, dist.requires((extra,))) if req not in install_requires - )) + ) for extra in dist.extras } egg_info = os.path.join(destination_eggdir, 'EGG-INFO') -- cgit v1.2.3