parameters: ()
return_statement: return major + '.' + minor + '.' + patch
docstring: Read version information
docstring_summary: Read version information
docstring_tokens: Read version information
function: def read_version():
      """Read version information
      """
      major = re.findall("set\(CPACK_PACKAGE_VERSION_MAJOR.*\"(.*)\"", open('dlib/CMakeLists.txt').read())[0]
      minor = re.findall("set\(CPACK_PACKAGE_VERSION_MINOR.*\"(.*)\"", open('dlib/CMakeLists.txt').read())[0]
      patch = re.findall("set\(CPACK_PACKAGE_VERSION_PATCH.*\"(.*)\"", open('dlib/CMakeLists.txt').read())[0]
      return major + '.' + minor + '.' + patch
function_tokens: def read_version ( ) : major = re . findall ( "set\(CPACK_PACKAGE_VERSION_MAJOR.*\"(.*)\"" , open ( 'dlib/CMakeLists.txt' ) . read ( ) ) [ 0 ] minor = re . findall ( "set\(CPACK_PACKAGE_VERSION_MINOR.*\"(.*)\"" , open ( 'dlib/CMakeLists.txt' ) . read ( ) ) [ 0 ] patch = re . findall ( "set\(CPACK_PACKAGE_VERSION_PATCH.*\"(.*)\"" , open ( 'dlib/CMakeLists.txt' ) . read ( ) ) [ 0 ] return major + '.' + minor + '.' + patch