diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2018-06-03 09:12:06 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2018-06-03 09:12:06 -0400 |
| commit | 169639bd253b55bbc4ef021a666c57b6029d3c5f (patch) | |
| tree | 72a7efc723d6296a5661e024138c312315b36837 /setuptools/wheel.py | |
| parent | ac3e41e61a72f34a46799f63531465495e3465a9 (diff) | |
| download | external_python_setuptools-169639bd253b55bbc4ef021a666c57b6029d3c5f.tar.gz external_python_setuptools-169639bd253b55bbc4ef021a666c57b6029d3c5f.tar.bz2 external_python_setuptools-169639bd253b55bbc4ef021a666c57b6029d3c5f.zip | |
Remove redundant 'list'
Diffstat (limited to 'setuptools/wheel.py')
| -rw-r--r-- | setuptools/wheel.py | 4 |
1 files changed, 2 insertions, 2 deletions
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') |
