diff options
author | Roman Yurchak <rth.yurchak@pm.me> | 2018-11-24 20:59:42 +0100 |
---|---|---|
committer | Roman Yurchak <rth.yurchak@pm.me> | 2018-11-24 20:59:42 +0100 |
commit | 09992482c93f1b9e28b7958a792e6b3b709834fa (patch) | |
tree | b807248742d02c48403d77b076f53b71f22df707 /numpy/distutils/command/build_ext.py | |
parent | 983bbb5ed2495e034b437a0b58a69371d4dfed74 (diff) | |
download | numpy-09992482c93f1b9e28b7958a792e6b3b709834fa.tar.gz |
Use set litterals
Diffstat (limited to 'numpy/distutils/command/build_ext.py')
-rw-r--r-- | numpy/distutils/command/build_ext.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/distutils/command/build_ext.py b/numpy/distutils/command/build_ext.py index 18d36480a..ab9d585a5 100644 --- a/numpy/distutils/command/build_ext.py +++ b/numpy/distutils/command/build_ext.py @@ -265,10 +265,10 @@ class build_ext (old_build_ext): # we blindly assume that both packages need all of the libraries, # resulting in a larger wheel than is required. This should be fixed, # but it's so rare that I won't bother to handle it. - pkg_roots = set( + pkg_roots = { self.get_ext_fullname(ext.name).split('.')[0] for ext in self.extensions - ) + } for pkg_root in pkg_roots: shared_lib_dir = os.path.join(pkg_root, '.libs') if not self.inplace: |