code: def _build():
      """Build dist/pypi"""
      shutil.rmtree(
          os.path.join(source_dir, "__pycache__"), ignore_errors=True
      )
      shutil.rmtree(dist_pypi_dir, ignore_errors=True)
      shutil.copytree(source_dir, os.path.join(dist_pypi_dir, "netron"))
      shutil.copyfile(
          os.path.join(publish_dir, "setup.py"),
          os.path.join(dist_pypi_dir, "setup.py"),
      )
      os.remove(os.path.join(dist_pypi_dir, "netron", "electron.mjs"))
      os.remove(os.path.join(dist_pypi_dir, "netron", "app.js"))
  
file_path: netron/package.py
imports: import json
  import os
  import re
  import sys
  import shutil
  import subprocess
label_desc: Use image node_id 4 for calling a global function with example usage: _build() without return types