code: def read_file(filename):
      
      # intentionally *not* adding an encoding option to open
      # see here:
      # https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
      here = os.path.abspath(os.path.dirname(__file__))
      with codecs.open(os.path.join(here, 'graphql_compiler', filename), 'r') as f:
          return f.read()
docs: Read package file as text to get name and version