code: def get_version():
      
      try:
          f = open('version.txt')
      except IOError:
          os.system("./version.sh > version.txt")
          f = open('version.txt')
      version = ''.join(f.readlines()).rstrip()
      f.close()
      return version
docs: Read the version.txt file to get the new version string
          Generate it if version.txt is not available. Generation
          is required for pip installs