def geos_version_info():
 ver = geos_version().decode()
 m = version_regex.match(ver)
 if (not m):
  raise GEOSException(('Could not parse version info string "%s"' % ver))
 return dict(((key, m.group(key)) for key in ('version', 'release_candidate', 'capi_version', 'major', 'minor', 'subminor')))

def geos_version_info ( ) : ver = geos_version ( ) . decode ( ) m = version_regex . match ( ver ) if ( not m ) : raise GEOSException ( ( 'Could not parse version info string "%s"' % ver ) ) return dict ( ( ( key , m . group ( key ) ) for key in ( 'version' , 'release_candidate' , 'capi_version' , 'major' , 'minor' , 'subminor' ) ) )
returns a dictionary containing the various version metadata parsed from the geos version string .