code: def run_cleanup(build_ext_cmd):
      
      if not build_ext_cmd.inplace:
          return
  
      bezier_dir = os.path.join("src", "bezier")
      shutil.move(os.path.join(build_ext_cmd.build_lib, LIB_DIR), bezier_dir)
      shutil.move(os.path.join(build_ext_cmd.build_lib, DLL_DIR), bezier_dir)
docs: Cleanup after ``BuildFortranThenExt.run``.
  
      For in-place builds, moves the built shared library into the source
      directory.