diff options
author | Rémy Léone <remy.leone@gmail.com> | 2015-11-07 12:00:36 +0100 |
---|---|---|
committer | Rémy Léone <remy.leone@gmail.com> | 2015-11-07 12:00:36 +0100 |
commit | def49ba8fa3fe252c26c210d7730ed5c3a42c60e (patch) | |
tree | c9f3f8ee031fdfbb1db2350c909e0682a2065820 /numpy/distutils/system_info.py | |
parent | 98f8f9c6876f2338ac783a542f5466aea03561ae (diff) | |
download | numpy-def49ba8fa3fe252c26c210d7730ed5c3a42c60e.tar.gz |
MAINT: Dictionary litteral
Diffstat (limited to 'numpy/distutils/system_info.py')
-rw-r--r-- | numpy/distutils/system_info.py | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py index 0da13a7df..a0c6f44f7 100644 --- a/numpy/distutils/system_info.py +++ b/numpy/distutils/system_info.py @@ -470,15 +470,13 @@ class system_info(object): ): self.__class__.info = {} self.local_prefixes = [] - defaults = {} - defaults['library_dirs'] = os.pathsep.join(default_lib_dirs) - defaults['include_dirs'] = os.pathsep.join(default_include_dirs) - defaults['runtime_library_dirs'] = os.pathsep.join(default_runtime_dirs) - defaults['rpath'] = '' - defaults['src_dirs'] = os.pathsep.join(default_src_dirs) - defaults['search_static_first'] = str(self.search_static_first) - defaults['extra_compile_args'] = '' - defaults['extra_link_args'] = '' + defaults = {'library_dirs': os.pathsep.join(default_lib_dirs), + 'include_dirs': os.pathsep.join(default_include_dirs), + 'runtime_library_dirs': os.pathsep.join(default_runtime_dirs), + 'rpath': '', + 'src_dirs': os.pathsep.join(default_src_dirs), + 'search_static_first': str(self.search_static_first), + 'extra_compile_args': '', 'extra_link_args': ''} self.cp = ConfigParser(defaults) self.files = [] self.files.extend(get_standard_file('.numpy-site.cfg')) |