docs: def read_metadata(self, file_path):  # type: (str) ->str
          """
          Get version out of a .ini file (or .cfg)
          :return:
          """
          config = configparser.ConfigParser()
          config.read(file_path)
          try:
              return unicode(config["metadata"]["version"])
          except KeyError:
              return ""