def run(self):
        """Build extensions in build directory, then copy if --inplace"""
        old_inplace, self.inplace = self.inplace, 0
        _build_ext.run(self)
        self.inplace = old_inplace
        if old_inplace:
            self.copy_extensions_to_source()
Build extensions in build directory, then copy if --inplace
product/gradle-plugin/src/main/python/setuptools/command/build_ext.py