code: def write_version_py(filename=None):
      cnt = """\
  version = '%s'
  """
      a = open(filename, "w")
      try:
          a.write(cnt % VERSION)
      finally:
          a.close()
  
imports: import codecs
  import os
  from setuptools import setup, find_packages
label_desc: Use image node_id 2 for calling a global function with example usage: write_version_py(filename) without return types