(self)
| 2720 | default_include_dirs=default_x11_include_dirs) |
| 2721 | |
| 2722 | def calc_info(self): |
| 2723 | if sys.platform in ['win32']: |
| 2724 | return |
| 2725 | lib_dirs = self.get_lib_dirs() |
| 2726 | include_dirs = self.get_include_dirs() |
| 2727 | opt = self.get_option_single('x11_libs', 'libraries') |
| 2728 | x11_libs = self.get_libs(opt, self._lib_names) |
| 2729 | info = self.check_libs(lib_dirs, x11_libs, []) |
| 2730 | if info is None: |
| 2731 | return |
| 2732 | inc_dir = None |
| 2733 | for d in include_dirs: |
| 2734 | if self.combine_paths(d, 'X11/X.h'): |
| 2735 | inc_dir = d |
| 2736 | break |
| 2737 | if inc_dir is not None: |
| 2738 | dict_append(info, include_dirs=[inc_dir]) |
| 2739 | self.set_info(**info) |
| 2740 | |
| 2741 | |
| 2742 | class _numpy_info(system_info): |
nothing calls this directly
no test coverage detected