def GetHostOS():
    if sys.platform == 'linux2':
      return Config.OS_LINUX
    if sys.platform == 'darwin':
      return Config.OS_MAC
    if sys.platform == 'win32':
      return Config.OS_WINDOWS
    raise NotImplementedError('Unsupported host OS')