def build_extensions(self): customize_compiler(self.compiler) try: self.compiler.compiler_so.remove("-Wstrict-prototypes") except (AttributeError, ValueError): pass build_ext.build_extensions(self)
def build_extensions(self): # if building from c files, don't need to # generate template output if cython: self.render_templates(_pxifiles) numpy_incl = pkg_resources.resource_filename("numpy", "core/include") for ext in self.extensions: if hasattr(ext, "include_dirs") and numpy_incl not in ext.include_dirs: ext.include_dirs.append(numpy_incl) _build_ext.build_extensions(self)
def build_extensions(self): # if building from c files, don't need to # generate template output if cython: self.render_templates(_pxifiles) numpy_incl = pkg_resources.resource_filename('numpy', 'core/include') for ext in self.extensions: if (hasattr(ext, 'include_dirs') and numpy_incl not in ext.include_dirs): ext.include_dirs.append(numpy_incl) _build_ext.build_extensions(self)