code: def write_wheelfile(self, *args, **kwargs):
      bdist_wheel.write_wheelfile(self, *args, **kwargs)
      if os.environ.get("RELEASE_DIR"):
          release_dir = os.environ["RELEASE_DIR"]
      else:
          release_dir = os.path.join(
              os.path.dirname(os.path.abspath(__file__)),
              "..",
              "..",
              "app",
              "packages",
              "desktop",
              "release",
          )
      bin_dir = os.path.join(
          self.bdist_dir,
          self.data_dir,
          "purelib",
          "fiftyone",
          "desktop",
          "bin",
      )
  
      if os.environ.get("FIFTYONE_APP_EXE_PATH"):
          apps = [os.environ["FIFTYONE_APP_EXE_PATH"]]
      elif self.plat_name.startswith("manylinux"):
          apps = glob.glob(
              os.path.join(release_dir, "FiftyOne*.AppImage")
          )
      elif self.plat_name == "macosx_11_0_arm64":
          apps = glob.glob(
              os.path.join(release_dir, "mac-arm64", "FiftyOne*.app")
          )
      elif self.plat_name.startswith("mac"):
          apps = glob.glob(
              os.path.join(release_dir, "mac", "FiftyOne*.app")
          )
      elif self.plat_name.startswith("win"):
          apps = glob.glob(os.path.join(release_dir, "FiftyOne*.exe"))
      else:
          raise ValueError(
              "Unsupported target platform: %r" % self.plat_name
          )
      if not apps:
          raise RuntimeError(
              "Could not find any built Electron apps in %r. "
              "Run 'yarn package-PLATFORM' in the 'electron' folder first."
              % release_dir
          )
      elif len(apps) > 1:
          raise RuntimeError(
              "Found too many Electron apps in %r: %r"
              % (release_dir, apps)
          )
      app_path = apps[0]
  
      if not os.path.isdir(bin_dir):
          os.mkdir(bin_dir)
      if os.path.isfile(app_path):
          # use copy2 to maintain executable permission
          ext = os.path.splitext(app_path)[-1]
      elif os.path.isdir(app_path):
          ext = ".app"
      else:
          raise RuntimeError("Unsupported file type: %r" % app_path)
  
      ext += ".tar.gz"
      make_tar(app_path, os.path.join(bin_dir, "FiftyOne" + ext))
  
file_path: fiftyone/package/desktop/setup.py
imports: import glob
  import os
  import shutil
  from setuptools import setup
  from wheel.bdist_wheel import bdist_wheel
  import os
  import shutil
label_desc: Use image node_id 3 for calling the CustomBdistWheel obj's underlying member method code with example usage: obj.write_wheelfile() without return types