code: def write_version_py():
      with open(os.path.join("fairseq", "version.txt")) as f:
          version = f.read().strip()
  
      # write version info to fairseq/version.py
      with open(os.path.join("fairseq", "version.py"), "w") as f:
          f.write('__version__ = "{}"\n'.format(version))
      return version
  
file_path: fairseq/setup.py
imports: import os
  import subprocess
  import sys
  from setuptools import Extension, find_packages, setup
  from torch.utils import cpp_extension
label_desc: Use image node_id 1 for calling a global function with example usage: write_version_py() and returns: version