MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
Loading...
Searching...
No Matches
Variables
fetch_version Namespace Reference

Variables

 version_regex = re.compile(r"^project\(MLCompilerBridge VERSION (?P<version>[^)]+)\‍)$")
 
str toml_field_regex = r'version[ ]*=[ ]*"(.*)"'
 
str VERSION = ""
 
 vmatch = version_regex.match(line)
 
list lines = []
 
str new_text = f'version = "{VERSION}"\n'
 

Variable Documentation

◆ lines

fetch_version.lines = []

Definition at line 23 of file fetch_version.py.

◆ new_text

str fetch_version.new_text = f'version = "{VERSION}"\n'

Definition at line 30 of file fetch_version.py.

◆ toml_field_regex

str fetch_version.toml_field_regex = r'version[ ]*=[ ]*"(.*)"'

Definition at line 12 of file fetch_version.py.

◆ VERSION

fetch_version.VERSION = ""

Definition at line 14 of file fetch_version.py.

◆ version_regex

fetch_version.version_regex = re.compile(r"^project\(MLCompilerBridge VERSION (?P<version>[^)]+)\‍)$")

Definition at line 11 of file fetch_version.py.

◆ vmatch

fetch_version.vmatch = version_regex.match(line)

Definition at line 17 of file fetch_version.py.