'Build extensions in build directory, then copy if --inplace'

def run(self):

    (old_inplace, self.inplace) = (self.inplace, 0)
    _build_ext.run(self)
    self.inplace = old_inplace
    if old_inplace:
        self.copy_extensions_to_source()
