code: def build_env() -> None:
      lines = [
          "if defined DISTUTILS_USE_SDK goto end",
          cmd_set("INCLUDE", "{inc_dir}"),
          cmd_set("INCLIB", "{lib_dir}"),
          cmd_set("LIB", "{lib_dir}"),
          cmd_append("PATH", "{bin_dir}"),
          "call {vcvarsall} {vcvars_arch}",
          cmd_set(
              "DISTUTILS_USE_SDK", "1"
          ),  # use same compiler to build Pillow
          cmd_set(
              "py_vcruntime_redist", "true"
          ),  # always use /MD, never /MT
          ":end",
          "@echo on",
      ]
      write_script("build_env.cmd", lines)
  
imports: from __future__ import annotations
  import argparse
  import os
  import platform
  import re
  import shutil
  import struct
  import subprocess
label_desc: Use image node_id 16 for calling a global function with example usage: build_env() without return types