Lines Matching refs:ext
297 def _configure_ext(self, ext, dct, append=False): argument
298 extdict = ext.__dict__
618 def _copy_ext(self, ext): argument
619 extclass = ext.__class__
620 fullname = self.get_ext_fullname(ext.name)
624 sources = list(ext.sources)
626 newext.__dict__.update(copy.deepcopy(ext.__dict__))
630 def _build_ext_arch(self, ext, pkgpath, arch): argument
636 _build_ext.build_extension(self, ext)
644 def build_extension(self, ext): argument
645 if not isinstance(ext, Extension):
646 return _build_ext.build_extension(self, ext)
656 ext.language = config.language
658 pkgpath, newext = self._copy_ext(ext)
753 for ext in self.extensions:
754 inp_file, reg_file = self._get_inplace_equivalent(build_py, ext)
757 if isinstance(ext, Extension) and self.petsc_arch:
769 if os.path.exists(reg_file) or not ext.optional:
777 for ext in self.extensions:
778 fullname = self.get_ext_fullname(ext.name)
780 if isinstance(ext, Extension) and self.petsc_arch: