Agora  1.2.0
Agora project
extract_version Namespace Reference

Variables

 base_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
 
 config_h = os.path.join(base_path, 'include', 'spdlog', 'version.h')
 
dictionary data = {'MAJOR': 0, 'MINOR': 0, 'PATCH': 0}
 
 reg = re.compile(r'^\s*#define\s+SPDLOG_VER_([A-Z]+)\s+([0-9]+).*$')
 
 m = reg.match(l)
 

Variable Documentation

◆ base_path

extract_version.base_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))

◆ config_h

extract_version.config_h = os.path.join(base_path, 'include', 'spdlog', 'version.h')

◆ data

dictionary extract_version.data = {'MAJOR': 0, 'MINOR': 0, 'PATCH': 0}

◆ m

extract_version.m = reg.match(l)

◆ reg

extract_version.reg = re.compile(r'^\s*#define\s+SPDLOG_VER_([A-Z]+)\s+([0-9]+).*$')