MLCompilerBridge
Tools for streamlining communication with ML models for compiler optimizations.
Loading...
Searching...
No Matches
Namespaces | Variables
fetch_version.py File Reference

Go to the source code of this file.

Namespaces

namespace  fetch_version
 

Variables

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