docs: def check_version(expected_version):
      """ Make sure the package version in setuptools matches what we expect it to be """
  
      with open(os.path.join(root_folder, 'VERSION'), 'r') as version_file:
          version = version_file.read().strip()
  
      if version != expected_version:
          raise EnvironmentError("Version mismatch during release, expected={}, found={}"
                                 .format(expected_version, version))